]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.dg/c99-array-nonobj-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.dg / c99-array-nonobj-1.c
diff --git a/gcc/testsuite/gcc.dg/c99-array-nonobj-1.c b/gcc/testsuite/gcc.dg/c99-array-nonobj-1.c
deleted file mode 100644 (file)
index 45fc74c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-/* Test for arrays of incomplete and function types: a constraint violation
-   in C99 only, though undefined (DR#047) before.
-*/
-/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
-/* { dg-do compile } */
-/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
-
-typedef void func (void);
-struct s;
-
-extern int a[][]; /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "array" "\[\]\[\] var" { target *-*-* } 11 } */
-
-void f (int [][]); /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "array" "\[\]\[\] arg" { target *-*-* } 14 } */
-
-extern struct s b[]; /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "array" "struct \[\] var" { target *-*-* } 17 } */
-
-void g (struct s []); /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "array" "struct \[\] arg" { target *-*-* } 20 } */
-
-extern func c[]; /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "array" "func \[\] var" { target *-*-* } 23 } */
-
-void h (func []); /* { dg-bogus "warning" "warning in place of error" } */
-/* { dg-error "array" "func \[\] arg" { target *-*-* } 26 } */