1 #![feature(core_intrinsics)]
7 #[allow(unreachable_code)]
8 pub fn exit(n: usize) -> i32 {
10 // Pretend this asm is an exit() syscall.
11 asm!("/*{0}*/", in(reg) n);
12 intrinsics::unreachable()
14 // This return value is just here to generate some extra code for a return
15 // value, making it easier for the test script to detect whether the
16 // compiler deleted it.