X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fambig3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Fambig3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=3f01660bf9889026494416e93bd9bb043be8944c;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C b/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C deleted file mode 100644 index 3f01660b..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/ambig3.C +++ /dev/null @@ -1,16 +0,0 @@ -// Testcase for ambiguity between function and variable declaration (8.2). -// Build don't link: - -struct A { - A (int, int); - int k; -}; - -void f () -{ - int i[2], j; - A a (int (i[1]), j); // gets bogus error - late parsing XFAIL *-*-* - A b (int (i[1]), int j); // function - a.k = 0; // gets bogus error - late parsing XFAIL *-*-* - b (i, j); -}