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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit64.C
blob
2208b30eae737ad134934f44280592734fe6dc20
1
extern "C" void abort ();
2
3
template <class T> void f ()
4
{
5
abort ();
6
}
7
8
template <> void f<char> ()
9
{
10
}
11
12
template <class T> class C
13
{
14
friend void f<char> ();
15
public:
16
void ff () { f<char> (); }
17
};
18
19
int main ()
20
{
21
C<int> c;
22
c.ff();
23
}