shithub: mc

ref: 0f95e4517ef3aa5d719b0ba8a20e8c64e96b0c46
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))
}