]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/error1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / error1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/error1.C b/gcc/testsuite/g++.old-deja/g++.pt/error1.C
deleted file mode 100644 (file)
index 675a31a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// 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