diff options
Diffstat (limited to 'tests/sysy_lvX/027_if2.sy')
| -rw-r--r-- | tests/sysy_lvX/027_if2.sy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sysy_lvX/027_if2.sy b/tests/sysy_lvX/027_if2.sy new file mode 100644 index 0000000..a4f5062 --- /dev/null +++ b/tests/sysy_lvX/027_if2.sy @@ -0,0 +1,10 @@ +int a; +int main(){ + a = 10; + if( a>0 ){ + return 1; + } + else{ + return 0; + } +} |
