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
// except according to those terms.
// ignore-stage1
#![feature(asm)]
fn main() {
let a;
asm!("nop" "nop");
//~^ ERROR E0660
asm!("nop" "nop" : "=r"(a));
//~^ ERROR E0660
}

View File

@ -1,11 +1,11 @@
error[E0660]: malformed inline assembly
--> $DIR/E0660.rs:15:5
--> $DIR/E0660.rs:17:5
|
LL | asm!("nop" "nop");
| ^^^^^^^^^^^^^^^^^^
error[E0660]: malformed inline assembly
--> $DIR/E0660.rs:16:5
--> $DIR/E0660.rs:19:5
|
LL | asm!("nop" "nop" : "=r"(a));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -8,9 +8,12 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-stage1
#![feature(asm)]
fn main() {
let a;
asm!("nop" : "r"(a));
//~^ ERROR E0661
}

View File

@ -1,5 +1,5 @@
error[E0661]: output operand constraint lacks '=' or '+'
--> $DIR/E0661.rs:15:18
--> $DIR/E0661.rs:17:18
|
LL | asm!("nop" : "r"(a));
| ^^^