diff options
Diffstat (limited to 'gcc/testsuite/gcc.c-torture/compile/pr43186.c')
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr43186.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr43186.c b/gcc/testsuite/gcc.c-torture/compile/pr43186.c new file mode 100644 index 0000000..d235e97 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/pr43186.c @@ -0,0 +1,15 @@ +int n; + +void foo (int i) +{ + int a, b; + + if (!i) + for (a = 1; a < 3; a++) + if (a) + for (b = 1; b < 3; b++) + foo (b); + + n++; +} + |