// RUN: %clang_cc1 -fsyntax-only -verify %s // expected-no-diagnostics struct meta { template struct apply { typedef U* type; }; }; template void f(typename T::template apply::type); void test_f(int *ip) { f(ip); }