diff options
Diffstat (limited to 'tests/sysy_lvX/030_if.sy')
| -rw-r--r-- | tests/sysy_lvX/030_if.sy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/sysy_lvX/030_if.sy b/tests/sysy_lvX/030_if.sy new file mode 100644 index 0000000..82fa5ba --- /dev/null +++ b/tests/sysy_lvX/030_if.sy @@ -0,0 +1,9 @@ +//test if +int main(){ + int a; + a = 10; + if (a == 10){ + return a; + } + return 0; +}
\ No newline at end of file |
