fn exit(status_code: int) #[builtin(Exit)] {} fn print(msg: string) #[builtin(Print)] {} fn println(msg: string) { print(msg + "\n") } fn id(v: T) -> T { v } fn main() { println("calling with int"); if id::(123) != 123 { exit(1); } println("calling with bool"); if id::(true) != true { exit(1); } println("all tests ran successfully"); exit(0); }