rust/src/test/ui/inline-asm-bad-operand.stderr

45 lines
1.4 KiB
Plaintext
Raw Normal View History

error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:21:24
|
2019-03-09 06:03:44 -06:00
LL | asm!("" :: "r"(""));
| ^^
error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:26:32
|
2019-03-09 06:03:44 -06:00
LL | asm!("ret" : : "{rdi}"(target));
| ^^^^^^
error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:33:29
|
2019-03-09 06:03:44 -06:00
LL | unsafe { asm!("" :: "i"(hello)) };
| ^^^^^
error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:41:38
|
2019-03-09 06:03:44 -06:00
LL | asm!("movups $1, %xmm0"::"m"(arr));
| ^^^
error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:48:32
|
2019-03-09 06:03:44 -06:00
LL | asm!("mov sp, $0"::"r"(addr));
| ^^^^
error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:55:32
|
2019-03-09 06:03:44 -06:00
LL | asm!("mov sp, $0"::"r"(addr),
| ^^^^
error[E0669]: invalid value for constraint in inline assembly
2018-12-25 09:56:47 -06:00
--> $DIR/inline-asm-bad-operand.rs:56:32
|
2019-03-09 06:03:44 -06:00
LL | "r"("hello e0669"));
| ^^^^^^^^^^^^^
error: aborting due to 7 previous errors