rust/src/test/ui/empty_global_asm.rs
2021-12-12 21:11:15 +00:00

22 lines
317 B
Rust

// run-pass
#[allow(unused_imports)]
use std::arch::global_asm;
#[cfg(target_arch = "x86")]
global_asm!("");
#[cfg(target_arch = "x86_64")]
global_asm!("");
#[cfg(target_arch = "arm")]
global_asm!("");
#[cfg(target_arch = "aarch64")]
global_asm!("");
#[cfg(target_arch = "mips")]
global_asm!("");
fn main() {}