Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-equiv1.C
blobae27c43bc0a03e62486b40c7fdb3c7e19a7d03df
1 // PR c++/100032
2 // { dg-do compile { target c++11 } }
4 template <template<class> class> struct X { };
5 template <class> struct Y { };
6 template <class T> using Z = const Y<T>;
8 template <class T> using W = Z<T>;
9 using U = X<Z>;
10 using U = X<W>;
12 using T = X<Y>;
13 using T = X<Z>;                 // { dg-error "conflicting declaration" }