FunStmt and Stmts added
[cc1516.git] / examples / codeGen.spl
index 5b366ba..30fe668 100644 (file)
@@ -3,14 +3,8 @@ f(x, y) {
 }
 
 main() {
-//    Int x1 = 3;
-//    Char x2 = '\n';
-//    Bool x3 = True;
-//    (Int, Char) x4 = (4, '\n');
-//    [Bool] x5 = True : False : True : True : []; 
-//     [Int] x1 = 42 : [];
        Int x1 = 1;
-       Int x2 = f(x1, 2);
+    x1 = 5;
        f(x1, 2);
     return x1;
 }