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
2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend8.C
1
template <class T>
2
class C
3
{
4
friend void f (C<T> c)
5
{
6
c.i = 3;
7
}
8
9
int i;
10
};
11
12
13
int main()
14
{
15
C<int> ci;
16
17
f(ci);
18
}