X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900404_02.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900404_02.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4099daa31e48cbfb53e27b2d618cbda7a097fced;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900404_02.C b/gcc/testsuite/g++.old-deja/g++.bugs/900404_02.C deleted file mode 100644 index 4099daa3..00000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900404_02.C +++ /dev/null @@ -1,24 +0,0 @@ -// g++ 1.37.1 bug 900404_02 - -// g++ fails to treat multicharacter literals as type "int" as required by -// section 2.5.2 of the C++ Reference Manual. - -// The result is that the following program will exit with a non-zero -// exit status. - -// keywords: character literals, multi-character literals, int type - -int exit_status = 0; - -void function0 (int i) // function that should be called -{ - i = i; -} - -void function0 (char c) // function that is actually called -{ - c = c; - exit_status++; -} - -int main () { function0 ('abcd'); return exit_status; } // WARNING -