Debian Codegraph @

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

raw
1 // PR c++/84376
2
3 template<int> struct A {};
4
5 template<typename T> T foo() { return T(); }
6
7 template<> A foo<A>(); // { dg-error "A" }