llvm-for-llvmta/tools/clang/test/PCH/cxx-alias-decl.h

12 lines
290 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// Header for PCH test cxx-alias-decl.cpp
struct S {};
template<typename U> struct T {
template<typename V> using A = T<V>;
};
using A = int;
template<typename U> using B = S;
template<typename U> using C = T<U>;
template<typename U, typename V> using D = typename T<U>::template A<V>;