Add a regression test for issue-89875
This commit is contained in:
parent
630df7c54a
commit
bd309e4628
1 changed files with 14 additions and 0 deletions
14
src/test/ui/asm/x86_64/issue-89875.rs
Normal file
14
src/test/ui/asm/x86_64/issue-89875.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// build-pass
|
||||
// only-x86_64
|
||||
|
||||
#![feature(asm, target_feature_11)]
|
||||
|
||||
#[target_feature(enable = "avx")]
|
||||
fn main() {
|
||||
unsafe {
|
||||
asm!(
|
||||
"/* {} */",
|
||||
out(ymm_reg) _,
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue