☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit63.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/explicit63.C
code
plain
raw
1
// { dg-do run }
2
extern "C" void abort ();
3
4
template <class T> void f ()
5
{
6
}
7
8
9
template <class T> class C
10
{
11
friend void f<T> ();
12
public:
13
void ff () { f<T> (); }
14
};
15
16
int main ()
17
{
18
C<int> c;
19
c.ff();
20
}