diff options
Diffstat (limited to 'test/PCH/cxx-alias-decl.h')
-rw-r--r-- | test/PCH/cxx-alias-decl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/PCH/cxx-alias-decl.h b/test/PCH/cxx-alias-decl.h new file mode 100644 index 0000000..26bc716 --- /dev/null +++ b/test/PCH/cxx-alias-decl.h @@ -0,0 +1,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>; |