diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/xpp.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/xpp.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/xpp.c b/gcc/testsuite/gcc.c-torture/compile/xpp.c new file mode 100644 index 0000000..daf3399 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/xpp.c @@ -0,0 +1,12 @@ +foo (a) +{ + a++; + if (a < 10) + return 1; + return a; +} + +main () +{ + printf ("%d\n", foo ((1 << 31) - 1)); +} |