blob: 675a31a398d0bd2b4b4155a8245a7529f51f95ea [file] [log] [blame]
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
struct S
{
template <class U>
void f ();
};
template <class T>
template <class U>
void S<T>::f ()
{
U& u; // ERROR - uninitialized reference
}
template void S<int>::f<double>(); // ERROR - instantiated from here