diff options
Diffstat (limited to 'tests/sysy_lvX/044_ge.sy')
| -rw-r--r-- | tests/sysy_lvX/044_ge.sy | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sysy_lvX/044_ge.sy b/tests/sysy_lvX/044_ge.sy new file mode 100644 index 0000000..5f54a19 --- /dev/null +++ b/tests/sysy_lvX/044_ge.sy @@ -0,0 +1,10 @@ +//test greater and equal +int main(){ + int a, b; + a = 10; + b = 0; + if (a >= 8){ + b = 1; + } + return a + b; +}
\ No newline at end of file |
