shithub: mc

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