From f367567e06b9c05938b38df44e1dc990eb12cb26 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 13 Apr 2018 23:22:01 +0200 Subject: [PATCH] ignore stage1 testing --- src/test/ui/E0660.rs | 4 ++++ src/test/ui/E0660.stderr | 4 ++-- src/test/ui/E0661.rs | 3 +++ src/test/ui/E0661.stderr | 2 +- 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)); | ^^^