netbsd/external/bsd/llvm/dist/clang/test/PCH/cxx-alias-decl.h
2014-01-15 10:53:42 +01:00

12 lines
290 B
C++

// 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>;