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