Skip to content

Commit

Permalink
add test for rust-lang#72960
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jun 5, 2020
1 parent 219380d commit 254f61a
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 254f61a

Please sign in to comment.