]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.rfg/00324_02-.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.rfg / 00324_02-.C
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 (file)
index 4055ba8..0000000
+++ /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 - 
-}