summaryrefslogtreecommitdiff
path: root/test.toc
blob: c185a7f1b773985d6bfd0972935e4158466a4bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "std/io.toc", io;
f ::= fn() (int, int) {
	x := 5;
	y := 88;
	defer x += 1;
	x, y
}
main ::= fn() {
	a,b := f();
	io.puti(a);
	io.puti(b);
}