crash5.C   [plain text]


// Build don't link:

template <class T, int i>
struct K {  // ERROR - forward declaration
	void f();
};

template <class T>
void
K<T, i>::f()
{ // ERROR - template parameters
}