]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/overload6.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / overload6.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/overload6.C b/gcc/testsuite/g++.old-deja/g++.other/overload6.C
deleted file mode 100644 (file)
index fae26c3..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-extern "C" void abort();
-
-struct S1
-{
-  int f() { return 0; }
-  int f() const { return 1; }
-};
-
-struct S2 : public S1
-{
-};
-
-int main()
-{
-  S2 s2;
-  if (s2.f() != 0)
-    abort ();
-}