X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fambig2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fambig2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=c6da7528bd36a5202bb08fedccd514a35f4e9b52;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/ambig2.C b/gcc/testsuite/g++.old-deja/g++.jason/ambig2.C deleted file mode 100644 index c6da7528..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/ambig2.C +++ /dev/null @@ -1,11 +0,0 @@ -// Testcase for ambiguity between cast and parmlist. -// This ambiguity accounts for 1 of the r/r conflicts. -// Do not compile with -pedantic so that the compiler will accept taking -// the sizeof a function type. -// Special g++ Options: -Wno-pointer-arith -// Build don't link: - -void f(){ - (void)sizeof(int((int)1.2)); - (void)sizeof(int((int))); // gets bogus error - -}