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