Skip to content
Permalink
Browse files

Ignore WASM on asm tests

  • Loading branch information...
varkor committed Mar 2, 2019
1 parent 4aa5fd0 commit 216bee499f7831dc5f092fc7077526494f98d18b
@@ -1,3 +1,6 @@
// ignore-wasm
// ignore-emscripten

#![feature(asm)]

fn main() {
@@ -1,5 +1,5 @@
error: couldn't allocate output register for constraint 'd'
--> $DIR/invalid-inline-asm-2.rs:7:9
--> $DIR/invalid-inline-asm-2.rs:10:9
|
LL | asm!("" : "=d"(a) : : : );
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1,3 +1,6 @@
// ignore-wasm
// ignore-emscripten

#![feature(asm)]

fn main() {
@@ -1,5 +1,5 @@
error: couldn't allocate input reg for constraint 'a'
--> $DIR/invalid-inline-asm.rs:7:14
--> $DIR/invalid-inline-asm.rs:10:14
|
LL | unsafe { asm!("out %al, %dx" :: "a" (byte), "d" (port) :: "volatile"); }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 comments on commit 216bee4

Please sign in to comment.
You can’t perform that action at this time.