X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Ftypeck1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Ftypeck1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=6dd5fed5c25d810f98bbd7f50c722ed589e4d690;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/typeck1.C b/gcc/testsuite/g++.old-deja/g++.other/typeck1.C deleted file mode 100644 index 6dd5fed5..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/typeck1.C +++ /dev/null @@ -1,17 +0,0 @@ -// Build don't link: - -extern int a[][]; // ERROR - invalid multidimensional array -extern int b[7][]; // ERROR - invalid multidimensional array -extern int c[][7]; // OK - -extern int (*i)[]; // ERROR - previous declaration -extern int (*i)[7]; // ERROR - conflicting types for `i' - -extern int m[]; -extern int m[7]; // OK - -void f(int (*j)[3]) -{ - extern int (*k)[]; - f(k); // ERROR - passing wrong type -}