Merge branch 'master' of github.com:dopefishh/cc1516
[cc1516.git] / examples / test.spl
index e6a7f05..b33297c 100644 (file)
@@ -1,6 +1,15 @@
 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);
+}