diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/960419-2.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/960419-2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/960419-2.c b/gcc/testsuite/gcc.c-torture/execute/960419-2.c new file mode 100644 index 00000000000..c9526dcd779 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/960419-2.c @@ -0,0 +1,13 @@ +#define SIZE 8 + +main() +{ + int a[SIZE] = {1}; + int i; + + for (i = 1; i < SIZE; i++) + if (a[i] != 0) + abort(); + + exit (0); +} |