Add test for issue-54067

This commit is contained in:
Yuki Okushi 2020-04-16 10:09:47 +09:00
parent 077a7f741f
commit 119bbbe31a
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1

View File

@ -0,0 +1,12 @@
// check-pass
// ignore-emscripten no llvm_asm! support
#![feature(llvm_asm)]
pub fn boot(addr: Option<u32>) {
unsafe {
llvm_asm!("mov sp, $0"::"r" (addr));
}
}
fn main() {}