blob: ae27c43bc0a03e62486b40c7fdb3c7e19a7d03df [file] [log] [blame]
// PR c++/100032
// { dg-do compile { target c++11 } }
template <template<class> class> struct X { };
template <class> struct Y { };
template <class T> using Z = const Y<T>;
template <class T> using W = Z<T>;
using U = X<Z>;
using U = X<W>;
using T = X<Y>;
using T = X<Z>; // { dg-error "conflicting declaration" }