blob: 297b8accaad8c9e9a4c299fba38ba71a7a641a8d [file] [log] [blame]
// Build don't link:
template <class T>
void f(T) {} // ERROR - parameter has incomplete type
class C;
void g(const C& c)
{
f(c); // ERROR - invalid use of undefined type
}