aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C b/gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C
deleted file mode 100644
index 4055ba8432e..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C
+++ /dev/null
@@ -1,16 +0,0 @@
-// Another simple one. GCC corerctly gives errors for this code when the
-// - -pedantic-errors options is used. g++ doesn't.
-
-// Build don't link:
-
-void f (int i) { }
-
-void (*fp)(void);
-
-int i;
-
-void
-test ()
-{
- i ? f : fp; // ERROR -
-}