Rollup merge of #73019 - matthiaskrgr:test_72960, r=Xanewok
add test for #72960 Fixes #72960 r? @Xanewok
This commit is contained in:
commit
14fd5950a5
|
@ -1,4 +1,6 @@
|
||||||
|
// compile-flags: -Zsave-analysis
|
||||||
// only-x86_64
|
// only-x86_64
|
||||||
|
// Also test for #72960
|
||||||
|
|
||||||
#![feature(asm)]
|
#![feature(asm)]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
error: invalid register `invalid`: unknown register
|
error: invalid register `invalid`: unknown register
|
||||||
--> $DIR/issue-72570.rs:7:18
|
--> $DIR/issue-72570.rs:9:18
|
||||||
|
|
|
|
||||||
LL | asm!("", in("invalid") "".len());
|
LL | asm!("", in("invalid") "".len());
|
||||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue