]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/typeck1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / typeck1.C
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 (file)
index 6dd5fed..0000000
+++ /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
-}