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
/
friend5.C
blob
3feeb684e36cf26a3e2dc7e26deab8b1a2e5ce7a
1
// { dg-do run }
2
class C
3
{
4
template <class T>
5
friend void f(T)
6
{
7
C c;
8
c.i = 3;
9
}
10
11
int i;
12
};
13
14
15
int main()
16
{
17
f(7);
18
}