]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.pt/nested1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / nested1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/nested1.C b/gcc/testsuite/g++.old-deja/g++.pt/nested1.C
deleted file mode 100644 (file)
index 3df7c47..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// Build don't link:
-
-template <class T1,class T2>
-struct X
-{
-  T1 a;
-
-  struct Y
-  {
-    T2 x;
-    Y (T2 _x) { x=_x; }
-  };
-
-};
-
-template <class T1>
-struct X<T1,int>
-{
-  T1 a;
-
-  struct Y
-  {
-    int x;
-    Y (int _x) { x=_x; }
-  };
-
-};
-
-template <>
-struct X<int,int>
-{
-  int a;
-
-  struct Y
-  {
-    int x;
-    Y (int _x) { x=_x; }
-  };
-
-};
-
-void f ()
-{
-  X<char,char> t1;
-  X<char,int> t2; 
-  X<int,int> t3;  
-}