1 // min-llvm-version: 10.0.1
3 // assembly-output: emit-asm
4 // compile-flags: -C llvm-args=--x86-asm-syntax=intel
6 #![feature(asm, global_asm)]
7 #![crate_type = "rlib"]
10 global_asm!("mov eax, eax");
12 global_asm!("mov ebx, {}", const 5);
14 global_asm!("movl ${}, %ecx", const 5, options(att_syntax));