about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/test/ui/E0660.rs4
-rw-r--r--src/test/ui/E0660.stderr4
-rw-r--r--src/test/ui/E0661.rs3
-rw-r--r--src/test/ui/E0661.stderr2
4 files changed, 10 insertions, 3 deletions
diff --git a/src/test/ui/E0660.rs b/src/test/ui/E0660.rs
index dbea0c8e7d8..82ef38e96cd 100644
--- a/src/test/ui/E0660.rs
+++ b/src/test/ui/E0660.rs
@@ -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
 }
diff --git a/src/test/ui/E0660.stderr b/src/test/ui/E0660.stderr
index 0ef8fc46487..fcf3e9a2552 100644
--- a/src/test/ui/E0660.stderr
+++ b/src/test/ui/E0660.stderr
@@ -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));
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/src/test/ui/E0661.rs b/src/test/ui/E0661.rs
index be932a0d471..7f8a0d8b574 100644
--- a/src/test/ui/E0661.rs
+++ b/src/test/ui/E0661.rs
@@ -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
 }
diff --git a/src/test/ui/E0661.stderr b/src/test/ui/E0661.stderr
index 90aeca5612a..d8b974d4240 100644
--- a/src/test/ui/E0661.stderr
+++ b/src/test/ui/E0661.stderr
@@ -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));
    |                  ^^^