X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900406_02.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900406_02.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=daf46a14e861252d540798da35411d59ce207015;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C b/gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C deleted file mode 100644 index daf46a14..00000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900406_02.C +++ /dev/null @@ -1,25 +0,0 @@ -// g++ bug 900406_02 - -// g++ fails to correctly parse some type specifications within casts. - -// This results in incorrect errors being issued. - -// These errors are not issued for identical code by either cfront or -// by gcc. - -// cfront 2.0 passes this test. - -// keywords: syntax, array types, casts - -int (*ipp)[]; -int (**ippp)[]; - -int function () -{ - ipp = (int (*)[]) 0; // OK - ippp = (int (**)[]) 0; // gets bogus error (syntax) - return 0; -} - -int main () { return 0; } -