annotate clang/test/PCH/cxx-alias-decl.h @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // Header for PCH test cxx-alias-decl.cpp
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 struct S {};
anatofuz
parents:
diff changeset
4 template<typename U> struct T {
anatofuz
parents:
diff changeset
5 template<typename V> using A = T<V>;
anatofuz
parents:
diff changeset
6 };
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 using A = int;
anatofuz
parents:
diff changeset
9 template<typename U> using B = S;
anatofuz
parents:
diff changeset
10 template<typename U> using C = T<U>;
anatofuz
parents:
diff changeset
11 template<typename U, typename V> using D = typename T<U>::template A<V>;