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

trait fooable @a =
;;

impl fooable int =
;;

generic foo = {x : @a::fooable
	-> x
}

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