Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/spec4.C

raw
1 // { dg-do assemble }
2
3 template <class T>
4 struct S {};
5
6 template <>
7 struct S<int>
8 {
9 void f();
10 void g();
11 };
12
13 void S<int>::f() {}
14
15 template <>
16 void S<int>::g() {} // { dg-error "" } does not match any template declaration