rust/tests/ui/asm/x86_64/issue-89875.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
248 B
Rust
Raw Normal View History

2021-10-19 14:50:34 -05:00
// build-pass
// needs-asm-support
2021-10-19 14:50:34 -05:00
// only-x86_64
#![feature(target_feature_11)]
use std::arch::asm;
2021-10-19 14:50:34 -05:00
#[target_feature(enable = "avx")]
fn main() {
unsafe {
asm!(
"/* {} */",
out(ymm_reg) _,
);
}
}