aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/11_add2.sy
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/11_add2.sy')
-rw-r--r--tests/functional/11_add2.sy7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/11_add2.sy b/tests/functional/11_add2.sy
new file mode 100644
index 0000000..229ae98
--- /dev/null
+++ b/tests/functional/11_add2.sy
@@ -0,0 +1,7 @@
+//test add
+int main(){
+ int a, b;
+ a = 10;
+ b = -1;
+ return a + b;
+} \ No newline at end of file