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
/
friend24.C
blob
5a4116fd47bc6dedc4f9aab9469b552e779dee9d
1
// { dg-do assemble }
2
3
template <class T>
4
struct S
5
{
6
template <class U = T>
7
friend class S;
8
9
void f(T);
10
};
11
12
template struct S<int>;
13
14
void g()
15
{
16
S<> s;
17
s.f(3);
18
}