ding
[cc1516.git] / examples / test.spl
index b33297c..199cb26 100644 (file)
@@ -1,15 +1,7 @@
-Bool n = True;
-
-test(x) :: Int -> Int {
-       var y = test(x+1);
-       return y;
-}
-
-f(n) :: Int -> Int{
-       var m = n+1;
-       return n;
-}
-
-test2(x) {
-       return f(x);
+test() {
+    var x = 5;
+    var y = 6;
+    x = x + y;
+    return y;
 }
+main() {return;}
\ No newline at end of file