]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/return1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / return1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/return1.C b/gcc/testsuite/g++.old-deja/g++.other/return1.C
deleted file mode 100644 (file)
index 42a7e47..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-// Build don't link:
-// Special g++ Option: 
-// Origin: holmen@mail.nu
-
-struct C {
-    int f() {return 0;}
-};
-
-struct D {
-    C a[1];
-    C* g();
-};
-
-C* D::g() {
-    int i = 0;
-    while (i < 1 && a[i].f() != 1) {}
-    return undefined_variable; // ERROR - 
-}