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