1// RUN: %clang_cc1 -fsyntax-only -verify %s 2// expected-no-diagnostics 3 4struct meta { 5 template<typename U> 6 struct apply { 7 typedef U* type; 8 }; 9}; 10 11template<typename T, typename U> 12void f(typename T::template apply<U>::type); 13 14void test_f(int *ip) { 15 f<meta, int>(ip); 16} 17