Debian Codegraph @

gcc/testsuite/g++.dg/template/spec33.C

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 };