diff options
Diffstat (limited to 'c_compiler/test/in/if_else.c')
-rw-r--r-- | c_compiler/test/in/if_else.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/c_compiler/test/in/if_else.c b/c_compiler/test/in/if_else.c new file mode 100644 index 0000000..8c87ce7 --- /dev/null +++ b/c_compiler/test/in/if_else.c @@ -0,0 +1,14 @@ +int main() +{ + int x = 87; + if( 2 > 1) + { + x = 45; + } + else + { + x = 92; + } + + return x; +} |