]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.martin/crash1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.martin / crash1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.martin/crash1.C b/gcc/testsuite/g++.old-deja/g++.martin/crash1.C
deleted file mode 100644 (file)
index dd165b6..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-int i = 4;
-struct S{
-  char c[i];      // ERROR - size not constant
-  int h;
-  int foo(){
-    return h;
-  }
-};
-
-int main()
-{
-  S x;
-  int i = x.foo();
-}