Skip to content

Commit 1cc521e

Browse files
committedMar 26, 2020
Update tests to use llvm_asm!
1 parent d162d09 commit 1cc521e

File tree

74 files changed

+421
-401
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+421
-401
lines changed
 

‎src/librustc_error_codes/error_codes/E0668.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ assembly call.
77
In particular, it can happen if you forgot the closing bracket of a register
88
constraint (see issue #51430):
99
```compile_fail,E0668
10-
#![feature(asm)]
10+
#![feature(llvm_asm)]
1111
1212
fn main() {
1313
let rax: u64;
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// compile-flags: -O
22

3-
#![feature(asm)]
3+
#![feature(llvm_asm)]
44
#![crate_type = "lib"]
55

66
// Check that inline assembly expressions without any outputs
@@ -9,6 +9,6 @@
99
// CHECK-LABEL: @assembly
1010
#[no_mangle]
1111
pub fn assembly() {
12-
unsafe { asm!("") }
12+
unsafe { llvm_asm!("") }
1313
// CHECK: tail call void asm sideeffect "", {{.*}}
1414
}

0 commit comments

Comments
 (0)