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