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

trait fooable @a =
;;
impl fooable int

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

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