about summary refs log tree commit diff
path: root/examples/4.src
blob: b6e8ab3a350cc7351f658f3abd3b8e6c9ef68b34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
let main = () => i64 {
	let print_one = () => i64 {
		print(1);
		return 4;
	};

	let y = print_one() + 2;

	print(y);

	return y;
};