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