]>
git.proxmox.com Git - rustc.git/blob - src/test/run-make-fulldeps/intrinsic-unreachable/exit-ret.rs
4 #[deny(unreachable_code)]
5 pub fn exit(n
: usize) -> i32 {
7 // Pretend this asm is an exit() syscall.
8 asm
!("/*{0}*/", in(reg
) n
);
10 // This return value is just here to generate some extra code for a return
11 // value, making it easier for the test script to detect whether the
12 // compiler deleted it.