blob: f38bfb2af1d91f7d0fe597c93bfc62ac08392faf [file] [log] [blame]
error[E0668]: malformed inline assembly
--> $DIR/inline-asm-bad-constraint.rs:22:9
|
LL | asm!("" :"={rax"(rax))
| ^^^^^^^^^^^^^^^^^^^^^^
error[E0668]: malformed inline assembly
--> $DIR/inline-asm-bad-constraint.rs:30:9
|
LL | asm!("callq $0" : : "0"(foo))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0668]: malformed inline assembly
--> $DIR/inline-asm-bad-constraint.rs:37:9
|
LL | asm!("addb $1, $0" : "={rax}"((0i32, rax)));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0668`.