OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend39.C
1
// Build don't link:
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();