Skip to content

Commit

Permalink
Rollup merge of #73019 - matthiaskrgr:test_72960, r=Xanewok
Browse files Browse the repository at this point in the history
add test for #72960

Fixes #72960

r? @Xanewok
  • Loading branch information
Dylan-DPC authored Jun 5, 2020
2 parents 10d9e3c + 254f61a commit 14fd595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/test/ui/asm/issue-72570.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// compile-flags: -Zsave-analysis
// only-x86_64
// Also test for #72960

#![feature(asm)]

Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/asm/issue-72570.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error: invalid register `invalid`: unknown register
--> $DIR/issue-72570.rs:7:18
--> $DIR/issue-72570.rs:9:18
|
LL | asm!("", in("invalid") "".len());
| ^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 14fd595

Please sign in to comment.