forked from OSchip/llvm-project
parent
16fe0bcb26
commit
c1b139dba0
|
@ -0,0 +1,15 @@
|
|||
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||||
|
||||
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);
|
||||
}
|
Loading…
Reference in New Issue