blob: 8800ebe7ca89c14fa5edd0cba5998854e545898a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Build don't link:
struct B { int foo (); };
int B::foo() { return 37; }
template <class A> struct X {
void f();
};
template <class A> void X<A>::f ()
{}
X<int> x;
void xyzzy () {
x.f ();
}
|