diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/crash24.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/crash24.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/crash24.C b/gcc/testsuite/g++.old-deja/g++.brendan/crash24.C index 42d0fabc238..e1e9d32c94f 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/crash24.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/crash24.C @@ -11,9 +11,12 @@ // array bounds, and then force the array to be allocated on the stack instead // of a register. +int main() { char i[1]; i[1] = 0; + + return 0; } |