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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend1.C
blob
d177a8045e2e4d78b246c93f23d19fd5bcabc4ed
1
// { dg-do run }
2
template <class T>
3
void f(T);
4
5
class C
6
{
7
template <class T>
8
friend void f(T);
9
10
int i;
11
};
12
13
14
template <class T>
15
void f(T)
16
{
17
C c;
18
c.i = 3;
19
}
20
21
22
int main()
23
{
24
f(7);
25
}