diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/20030331-1.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20030331-1.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/20030331-1.c b/gcc/testsuite/gcc.c-torture/compile/20030331-1.c new file mode 100644 index 000000000..e5db36bf3 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20030331-1.c @@ -0,0 +1,13 @@ +/* From PR/9301. Fixed by ebotcazou's patch for PR/9493. */ + +void bar (void); + +void foo (int a, int b, int c, int d, int e) +{ + if (a) + bar(); + if (b && c) + ; + if (d && e) + ; +} |