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