summaryrefslogtreecommitdiff
path: root/test/voidmatch.myr
blob: a458a6e055976b4778c5e48e371ea4c3dfb41afa (plain)
1
2
3
4
5
6
7
8
use std

const main = {
	match `std.Some void
	| `std.Some x:	std.put("ok\n")
	| `std.None:	std.put("fail\n")
	;;
}