diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2020-02-14 16:54:40 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2020-03-26 15:49:22 +0000 |
| commit | 1cc521ef9d8a8a2eb48f0e11ddfc1e70734aff10 (patch) | |
| tree | 18eb30e68fcad637f35fe20bf83326b054171a94 /src/test/codegen | |
| parent | d162d096ddf7972819e5b700890726a2ea85f272 (diff) | |
| download | rust-1cc521ef9d8a8a2eb48f0e11ddfc1e70734aff10.tar.gz rust-1cc521ef9d8a8a2eb48f0e11ddfc1e70734aff10.zip | |
Update tests to use llvm_asm!
Diffstat (limited to 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/no-output-asm-is-volatile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/codegen/no-output-asm-is-volatile.rs b/src/test/codegen/no-output-asm-is-volatile.rs index 47b38d29417..40376218908 100644 --- a/src/test/codegen/no-output-asm-is-volatile.rs +++ b/src/test/codegen/no-output-asm-is-volatile.rs @@ -1,6 +1,6 @@ // compile-flags: -O -#![feature(asm)] +#![feature(llvm_asm)] #![crate_type = "lib"] // Check that inline assembly expressions without any outputs @@ -9,6 +9,6 @@ // CHECK-LABEL: @assembly #[no_mangle] pub fn assembly() { - unsafe { asm!("") } + unsafe { llvm_asm!("") } // CHECK: tail call void asm sideeffect "", {{.*}} } |
