blob: 5797eee23e6235be708a3587687183b66bf395bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Build don't link:
template <class T, int i>
struct K {
void f();
}; // ERROR - forward declaration
template <class T>
void
K<T, i>::f()
{ // ERROR - template parameters
}
|