X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=examples%2Ftest.spl;h=199cb26b323fbb1097dd053ea6b320ebb0aa5044;hb=39f7799760a30737f57fb2b8ccdb15074ee9ac45;hp=e6a7f05f6efc6101c55bcca32074d16ee131393b;hpb=0e3e968f772d6befb4dbe05f864caae4af84ea62;p=cc1516.git diff --git a/examples/test.spl b/examples/test.spl index e6a7f05..199cb26 100644 --- a/examples/test.spl +++ b/examples/test.spl @@ -1,6 +1,7 @@ -Bool n = True; - -f(n) :: Int -> Int{ - var m = n+1; - return n; +test() { + var x = 5; + var y = 6; + x = x + y; + return y; } +main() {return;} \ No newline at end of file