Skip to content

Commit bd309e4

Browse files
committed
Add a regression test for issue-89875
1 parent 630df7c commit bd309e4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/test/ui/asm/x86_64/issue-89875.rs

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// build-pass
2+
// only-x86_64
3+
4+
#![feature(asm, target_feature_11)]
5+
6+
#[target_feature(enable = "avx")]
7+
fn main() {
8+
unsafe {
9+
asm!(
10+
"/* {} */",
11+
out(ymm_reg) _,
12+
);
13+
}
14+
}

0 commit comments

Comments
 (0)