aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/09_if.sy
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/09_if.sy')
-rw-r--r--tests/functional/09_if.sy9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functional/09_if.sy b/tests/functional/09_if.sy
new file mode 100644
index 0000000..a908d63
--- /dev/null
+++ b/tests/functional/09_if.sy
@@ -0,0 +1,9 @@
+int a;
+
+int main(){
+ a = 10;
+ if( a>0 ){
+ return 1;
+ }
+ return 0;
+}