shithub: mc

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