diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/unsorted/pyr.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/unsorted/pyr.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/unsorted/pyr.c b/gcc/testsuite/gcc.c-torture/unsorted/pyr.c new file mode 100644 index 000000000..d25b2a99a --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/unsorted/pyr.c @@ -0,0 +1,11 @@ +foo (char *a) +{ + char b; + int c; + b = *a; + c = b; + if (c < 0) + return 1; + a[1] = b; + +} |