summaryrefslogtreecommitdiff
path: root/test/union-extraarg.myr
blob: 53e8b1065bf4dd4aa1bfb2f409b9e16143d7a6d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use std
/*
should fail to compile becuse
we're constructing a union that
with too many arguments.
*/
type u = union
	`Foo
;;

const main = {
	`Foo 123
}