OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cp:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend5.C
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
}