summaryrefslogtreecommitdiff
path: root/test/emptytrait.myr
blob: f4a1f388dd803a4cb5bab2a37bde98de554369b3 (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 @a
	-> x
}

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