Fix ui tests for llvm_asm! deprecation
This commit is contained in:
parent
6fd4f3463f
commit
632a400a36
76 changed files with 177 additions and 132 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#![feature(llvm_asm)]
|
||||
#![allow(deprecated)] // llvm_asm!
|
||||
// compile-flags: -Ccodegen-units=1
|
||||
// build-fail
|
||||
// only-x86_64
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
error: invalid operand in inline asm: 'int $3'
|
||||
--> $DIR/issue-23458.rs:8:9
|
||||
--> $DIR/issue-23458.rs:9:9
|
||||
|
|
||||
LL | llvm_asm!("int $3");
|
||||
| ^
|
||||
|
||||
error: too few operands for instruction
|
||||
--> $DIR/issue-23458.rs:8:9
|
||||
--> $DIR/issue-23458.rs:9:9
|
||||
|
|
||||
LL | llvm_asm!("int $3");
|
||||
| ^
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
// ignore-emscripten
|
||||
|
||||
#![feature(llvm_asm)]
|
||||
#![allow(deprecated)] // llvm_asm!
|
||||
|
||||
macro_rules! interrupt_handler {
|
||||
() => {
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
// ignore-emscripten no llvm_asm! support
|
||||
|
||||
#![feature(llvm_asm)]
|
||||
#![allow(deprecated)] // llvm_asm!
|
||||
|
||||
fn main() {
|
||||
unsafe {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0669]: invalid value for constraint in inline assembly
|
||||
--> $DIR/issue-37433.rs:8:29
|
||||
--> $DIR/issue-37433.rs:9:29
|
||||
|
|
||||
LL | llvm_asm!("" :: "r"(""));
|
||||
| ^^
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
// ignore-emscripten
|
||||
|
||||
#![feature(llvm_asm)]
|
||||
#![allow(deprecated)] // llvm_asm!
|
||||
|
||||
macro_rules! fake_jump {
|
||||
($id:expr) => {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
error[E0669]: invalid value for constraint in inline assembly
|
||||
--> $DIR/issue-53787-inline-assembler-macro.rs:24:16
|
||||
--> $DIR/issue-53787-inline-assembler-macro.rs:25:16
|
||||
|
|
||||
LL | fake_jump!("FirstFunc");
|
||||
| ^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(deprecated)] // llvm_asm!
|
||||
// ignore-pretty unreported
|
||||
|
||||
#![feature(box_syntax)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue