summaryrefslogtreecommitdiff
path: root/clang/test/PCH/cxx-alias-decl.h
blob: 26bc716b08a6fd592aaad63e9c59a55e395a2ac3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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>;