aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr71057.C
blob: 2ed1eed988ee6984a79a74b0b40cae71dcfaa46b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { 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; }