☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec33.C
☽
☼
gcc/testsuite/g++.dg/template/spec33.C
code
plain
raw
1
//PR c++/27667
2
3
struct A
4
{
5
template<int> static void foo () {}
6
template<> static void foo<0>() {} // { dg-error "31:template-id .foo<0>. in declaration|explicit specialization" }
7
};