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
* c-common.c (get_priority): Add check for
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit63.C
blob
46751a69de984d96651b982e1d953d2b529fa434
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
}