]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/crash43.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / crash43.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash43.C b/gcc/testsuite/g++.old-deja/g++.pt/crash43.C
deleted file mode 100644 (file)
index e324491..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-// Build don't link:
-// Origin: Mark Mitchell <mark@codesourcery.com>
-
-template <int T>
-struct S {
-  struct X {};
-  struct Y {};
-
-  template <int U>
-  friend struct S<U>::X; // ERROR - typename as friend
-
-  template <int U>
-  friend typename S<U>::Y; // ERROR - typename as friend
-};
-
-struct T {
-  template <int T>
-  friend struct S<T>::X; // ERROR - typename as friend
-};
-
-struct U {
-  template <int T>
-  friend typename S<T>::X; // ERROR - typename as friend
-};