X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Frfg4.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Frfg4.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=2b883950cb720aa820391c905fc45d2f6c955aee;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 2b883950..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/rfg4.C +++ /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 -}