aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction70.C
blob: f14bdf0b8ec8dc27aefd1db136c89054424b3cd8 (plain)
1
2
3
4
5
6
7
// PR c++/93596

template <typename> struct A {};
template <typename> struct B {};
template <typename> struct C {
  void foo () { B a = A<int> { foo }; } // { dg-error "" }
};