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
libstdc++: Use -C option to run recursive make in sub-directories
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend5.C
blob
edb9d62335914d21da815469583a87d60b2baaa2
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(C());
18
}