blob: 0bd546a74e8ac0dd2243f6b28ad5385aa086048d [file] [log] [blame]
// { dg-do compile }
// { dg-options "-g" }
template <typename _Tp> using decay_t = _Tp;
template <typename> struct A;
template <typename> struct B { B(A<int>); };
template <typename> struct C {
template <typename U> using constructor = B<decay_t<U>>;
typedef constructor<int> dummy;
};
template <typename> struct D {};
C<int> a;
D<B<int>> fn1() { fn1, a; return D<B<int>>(); }