1// { dg-do assemble } 2// Origin: Mark Mitchell <mark@codesourcery.com> 3 4template <class T> 5struct S 6{ 7 template <class U> 8 void f (); 9 10}; 11 12template <class T> 13template <class U> 14void S<T>::f () 15{ 16 U& u; // { dg-error "" } uninitialized reference 17} 18 19template void S<int>::f<double>(); 20