about summary refs log tree commit diff
path: root/examples/1.5.src
blob: 17c9b35ce8e9593b2c53354f91e477c5c51f6db5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern printf = (*i64, i64) => i64;

let x = () => i64 {
	printf("%d\n", 22);
	return 11;
};

let main = () => i64 {
	let i = 4;

	printf("%d\n", i);

	return x();
};