diff options
Diffstat (limited to 'test/monniaux/if/if2.c')
-rw-r--r-- | test/monniaux/if/if2.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/monniaux/if/if2.c b/test/monniaux/if/if2.c new file mode 100644 index 00000000..2a6d5507 --- /dev/null +++ b/test/monniaux/if/if2.c @@ -0,0 +1,11 @@ +int toto(int x) { + if (2*x+1 >= 3) { + if (2*x+1 >= 3) { + return 3; + } else { + return 2; + } + } else { + return 1; + } +} |