blob: e0faf2bcb2da9fb35d094eff2a4057bce16d0bea [file] [log] [blame]
// { dg-do compile { target c++11 } }
// Alias template of non-class types.
template <class T, class U> struct same;
template <class T> struct same<T,T> {};
template <class T> using Ptr = T*;
template <template <class> class T> struct A {
template <class U> using X = T<U>;
};
same<A<Ptr>::X<int>,int*> s;