1
Fork 0

ignore stage1 testing

This commit is contained in:
Guillaume Gomez 2018-04-13 23:22:01 +02:00
parent 5d52ef5091
commit f367567e06
4 changed files with 10 additions and 3 deletions

View file

@ -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
} }

View file

@ -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));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View file

@ -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
} }

View file

@ -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));
| ^^^ | ^^^