Ignore WASM on asm tests
This commit is contained in:
parent
4aa5fd0806
commit
216bee499f
@ -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"); }
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
Loading…
Reference in New Issue
Block a user