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
Initial revision
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t31.C
blob
8800ebe7ca89c14fa5edd0cba5998854e545898a
1
// Build don't link:
2
3
struct B { int foo (); };
4
int B::foo() { return 37; }
5
6
template <class A> struct X {
7
void f();
8
};
9
10
template <class A> void X<A>::f ()
11
{}
12
13
X<int> x;
14
15
void xyzzy () {
16
x.f ();
17
}