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
/
friend9.C
blob
5eb52b7ef9a7459a1c89b67c750c57feaa3db560
1
// { dg-do run }
2
template <class U>
3
class C
4
{
5
template <class T>
6
friend void f(T);
7
8
int i;
9
};
10
11
12
template <class T>
13
void f(T)
14
{
15
C<int> c;
16
c.i = 3;
17
}
18
19
20
int main()
21
{
22
f(7);
23
}