X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Foverload2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Foverload2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=564194253835c49593688873eeb62036bf7ff74f;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload2.C b/gcc/testsuite/g++.old-deja/g++.jason/overload2.C deleted file mode 100644 index 56419425..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/overload2.C +++ /dev/null @@ -1,12 +0,0 @@ -// Bug: foo and bar are considered to be overloaded (i.e. their -// IDENTIFIER_GLOBAL_VALUES are TREE_LISTs) even though they aren't, -// so ?: thinks it can't resolve the names. -// Build don't link: - -void foo (); -void bar (); - -void baz () -{ - void (*p)() = 1 ? foo : bar; // gets bogus error - wrongful overloading -}