diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr54132.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr54132.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr54132.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr54132.c deleted file mode 100644 index 97bc01caf..000000000 --- a/gcc-4.8.1/gcc/testsuite/gcc.dg/torture/pr54132.c +++ /dev/null @@ -1,18 +0,0 @@ -/* { dg-do run } */ - -extern void abort (void); -void foo(char *p, int n) -{ - int i; - for (i = 1; i < n; i++) - p[i] = p[i - 1]; -} -int main() -{ - char a[1024]; - a[0] = 1; - foo (a, 1024); - if (a[1023] != 1) - abort (); - return 0; -} |