summaryrefslogtreecommitdiff
path: root/test/exportmain.myr
blob: 51dc559e531060ff3339697e99a94d505ed8712a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std

pkg =
	const foo	: (val:int -> int)
;;


const foo = {val
	-> val
}

const main = {
	std.exit(foo(42))
}