aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/typeck1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/typeck1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/typeck1.C17
1 files changed, 0 insertions, 17 deletions
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 6dd5fed5c25..00000000000
--- 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
-}