☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
class-deduction47.C
☽
☼
gcc/testsuite/g++.dg/cpp1z/class-deduction47.C
code
plain
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" }