diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/o.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/o.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/o.c b/gcc/testsuite/gcc.c-torture/compile/o.c new file mode 100644 index 00000000000..e8b78e383cb --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/o.c @@ -0,0 +1,12 @@ +foo (a, p) + char a; + int *p; +{ + int b = a; + *p = b; + a = (char) a; + if (a) + return b; + else + return b + 1; +} |