return dingen en local vars werken
[cc1516.git] / examples / codeGen.spl
1 f(x, y) {
2 return x;
3 }
4
5 main() {
6 // Int x1 = 3;
7 // Char x2 = '\n';
8 // Bool x3 = True;
9 // (Int, Char) x4 = (4, '\n');
10 // [Bool] x5 = True : False : True : True : [];
11 // [Int] x1 = 42 : [];
12 Int x1 = 1;
13 Int x2 = f(x1, 2);
14 f(x1, 2);
15 return x1;
16 }