llvm-for-llvmta/tools/clang/test/CXX/temp/temp.decls/temp.alias/p1.cpp

10 lines
226 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -std=c++11 -fsyntax-only -verify %s
// expected-no-diagnostics
template<typename T> using U = T;
// The name of the alias template is a template-name.
U<char> x;
void f(U<int>);
typedef U<U<U<U<int>>>> I;