Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // GROUPS passed templates
3 template <class T>
4 struct S
5 {
6 };
7
8
9 template <>
10 struct S<int>
11 {
12 void foo();
13 };
14
15
16 void S<int>::foo()
17 {
18 }
19
20
21 void bar()
22 {
23 S<int> si;
24 si.foo();
25 }