diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/execute/930429-2.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/930429-2.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/execute/930429-2.c b/gcc/testsuite/gcc.c-torture/execute/930429-2.c new file mode 100644 index 00000000000..e52c8b4d723 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/930429-2.c @@ -0,0 +1,14 @@ +int +f (b) +{ + return (b >> 1) > 0; +} + +main () +{ + if (!f (9)) + abort (); + if (f (-9)) + abort (); + exit (0); +} |