shithub: mc

ref: 9021cc39e9db0ef9c433dda8b1513050d359a8eb
dir: /test/emptytrait.myr/

View raw version
use std

trait fooable @a =
;;

impl fooable int =
;;

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

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