summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t42.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/t42.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/t42.C17
1 files changed, 0 insertions, 17 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/t42.C b/gcc/testsuite/g++.old-deja/g++.pt/t42.C
deleted file mode 100644
index 55459949b77..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.pt/t42.C
+++ /dev/null
@@ -1,17 +0,0 @@
-extern "C" void abort ();
-
-struct A {
- struct stat {
- int x;
- stat (int j) { abort (); }
- };
- static int stat (double d) { return 0; } // gets bogus error - cfront takes it
- static int zap () {
- stat (0);
- return stat (1); // gets bogus error - this should work
- }
-};
-
-int main () {
- return A::zap ();
-}