about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2022-01-12 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2022-01-12 18:51:31 +0100
commit11d014d05afa98a5db4ffcf6c8f07aa07d4d1e97 (patch)
treee6c6703fc0db40c8bd43cc8ab7e25f9913323210 /src/test/codegen
parent47b1c16fcd1d2a54002b77ac3e15c6092415d1b1 (diff)
downloadrust-11d014d05afa98a5db4ffcf6c8f07aa07d4d1e97.tar.gz
rust-11d014d05afa98a5db4ffcf6c8f07aa07d4d1e97.zip
Remove codegen tests for LLLVM-style inline assembly
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/no-output-asm-is-volatile.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/codegen/no-output-asm-is-volatile.rs b/src/test/codegen/no-output-asm-is-volatile.rs
deleted file mode 100644
index 40376218908..00000000000
--- a/src/test/codegen/no-output-asm-is-volatile.rs
+++ /dev/null
@@ -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 "", {{.*}}
-}