repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit62.C
blob
534b4ec9227a0c95401a05804cf672bcb62a462f
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<char> ();
12
public:
13
void ff () { f<char> (); }
14
};
15
16
int main ()
17
{
18
C<int> c;
19
c.ff();
20
}