1 | // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | template<typename T> using U = T; |
5 | |
6 | // The name of the alias template is a template-name. |
7 | U<char> x; |
8 | void f(U<int>); |
9 | typedef U<U<U<U<int>>>> I; |
10 |
1 | // RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | template<typename T> using U = T; |
5 | |
6 | // The name of the alias template is a template-name. |
7 | U<char> x; |
8 | void f(U<int>); |
9 | typedef U<U<U<U<int>>>> I; |
10 |