Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/class-deduction70.C

raw
1 // PR c++/93596
2
3 template <typename> struct A {};
4 template <typename> struct B {};
5 template <typename> struct C {
6 void foo () { B a = A<int> { foo }; } // { dg-error "" }
7 };