Add test for issue-54067
This commit is contained in:
parent
077a7f741f
commit
119bbbe31a
12
src/test/ui/asm/issue-54067.rs
Normal file
12
src/test/ui/asm/issue-54067.rs
Normal 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() {}
|
Loading…
Reference in New Issue
Block a user