ignore stage1 testing
This commit is contained in:
parent
5d52ef5091
commit
f367567e06
4 changed files with 10 additions and 3 deletions
|
@ -8,10 +8,14 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-stage1
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let a;
|
let a;
|
||||||
asm!("nop" "nop");
|
asm!("nop" "nop");
|
||||||
|
//~^ ERROR E0660
|
||||||
asm!("nop" "nop" : "=r"(a));
|
asm!("nop" "nop" : "=r"(a));
|
||||||
|
//~^ ERROR E0660
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
error[E0660]: malformed inline assembly
|
error[E0660]: malformed inline assembly
|
||||||
--> $DIR/E0660.rs:15:5
|
--> $DIR/E0660.rs:17:5
|
||||||
|
|
|
|
||||||
LL | asm!("nop" "nop");
|
LL | asm!("nop" "nop");
|
||||||
| ^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
error[E0660]: malformed inline assembly
|
error[E0660]: malformed inline assembly
|
||||||
--> $DIR/E0660.rs:16:5
|
--> $DIR/E0660.rs:19:5
|
||||||
|
|
|
|
||||||
LL | asm!("nop" "nop" : "=r"(a));
|
LL | asm!("nop" "nop" : "=r"(a));
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
|
@ -8,9 +8,12 @@
|
||||||
// option. This file may not be copied, modified, or distributed
|
// option. This file may not be copied, modified, or distributed
|
||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
|
// ignore-stage1
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let a;
|
let a;
|
||||||
asm!("nop" : "r"(a));
|
asm!("nop" : "r"(a));
|
||||||
|
//~^ ERROR E0661
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
error[E0661]: output operand constraint lacks '=' or '+'
|
error[E0661]: output operand constraint lacks '=' or '+'
|
||||||
--> $DIR/E0661.rs:15:18
|
--> $DIR/E0661.rs:17:18
|
||||||
|
|
|
|
||||||
LL | asm!("nop" : "r"(a));
|
LL | asm!("nop" : "r"(a));
|
||||||
| ^^^
|
| ^^^
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue