]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/rfg4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / rfg4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg4.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg4.C
deleted file mode 100644 (file)
index 2b88395..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Bug: f1 and f2 are treated as overloaded when they aren't.
-// Build don't link:
-// Special g++ Options: -ansi -pedantic-errors -w
-
-int i;
-void f1(double) { }
-void f2(double) { }
-
-void
-test ()
-{
-  i ? f1 : f2;         // gets bogus error - improper overloading
-}