about summary refs log tree commit diff
path: root/tests/ui/asm/x86_64/issue-89875.rs
blob: 0252859cff0a24c329235489cd2d54b945206b8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//@ build-pass
//@ needs-asm-support
//@ only-x86_64

use std::arch::asm;

#[target_feature(enable = "avx")]
fn foo() {
    unsafe {
        asm!(
            "/* {} */",
            out(ymm_reg) _,
        );
    }
}

fn main() {}