☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
memtemp18.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/memtemp18.C
code
plain
raw
1
// { dg-do assemble }
2
// GROUPS passed templates membertemplates
3
struct S
4
{
5
template <class T>
6
void foo(T) {}
7
};
8
9
template void S::foo(int);
10
11
int main()
12
{
13
S s;
14
s.foo(3);
15
}
16