]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/mangle10.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / mangle10.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/mangle10.C b/gcc/testsuite/g++.old-deja/g++.other/mangle10.C
deleted file mode 100644 (file)
index 8d5bb48..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Build don't link:
-
-template<int T>
-struct A {
-  char *a;
-  A (const char* x)
-  {
-    a = (char*) x;
-  }
-};
-
-template<int U, int V, class T>
-struct B {
-  T a[V-U+1];
-  friend A<V-U+1> f (B const &x)
-  {
-    return A<V-U+1> ((char*) x.a);
-  }
-};
-
-const int a = 8;
-
-typedef B<1,a,int> C;
-struct D {
-  C x;
-};