mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +03:00
Remove codegen tests for LLLVM-style inline assembly
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
// compile-flags: -O
|
||||
|
||||
#![feature(llvm_asm)]
|
||||
#![crate_type = "lib"]
|
||||
|
||||
// Check that inline assembly expressions without any outputs
|
||||
// are marked as having side effects / being volatile
|
||||
|
||||
// CHECK-LABEL: @assembly
|
||||
#[no_mangle]
|
||||
pub fn assembly() {
|
||||
unsafe { llvm_asm!("") }
|
||||
// CHECK: tail call void asm sideeffect "", {{.*}}
|
||||
}
|
||||
Reference in New Issue
Block a user