Add a test case for r95555.

llvm-svn: 95562
This commit is contained in:
Sebastian Redl 2010-02-08 19:58:40 +00:00
parent 16fe0bcb26
commit c1b139dba0
1 changed files with 15 additions and 0 deletions

View File

@ -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);
}