aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20030305-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/20030305-1.c')
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20030305-1.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030305-1.c b/gcc/testsuite/gcc.c-torture/compile/20030305-1.c
deleted file mode 100644
index 2f608196fdd..00000000000
--- a/gcc/testsuite/gcc.c-torture/compile/20030305-1.c
+++ /dev/null
@@ -1,18 +0,0 @@
-/* PR c/9799 */
-/* Verify that GCC doesn't crash on excess elements
- in initializer for a flexible array member. */
-
-typedef struct {
- int aaa;
-} s1_t;
-
-typedef struct {
- int bbb;
- s1_t s1_array[];
-} s2_t;
-
-static s2_t s2_array[]= {
- { 1, 4 },
- { 2, 5 },
- { 3, 6 }
-};