blob: d3950e9b2b9b26a138228c7b325297ef60169a75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Bug: instantiation of member templates breaks.
// Build don't link:
template <class T> struct A {
static void f ();
void g ();
};
template <class T> void A<T>::f () { }
template <class T> void A<T>::g () { }
A<int> a;
|