Eagerly lower asm sub-expressions to HIR even if there is an error

Fixes #72570
This commit is contained in:
Amanieu d'Antras 2020-05-26 11:04:34 +01:00
parent 215f2d3294
commit 6faa82be42
2 changed files with 45 additions and 36 deletions

View file

@ -0,0 +1,7 @@
#![feature(asm)]
fn main() {
unsafe {
asm!("", in("invalid") "".len());
}
}