blob: 1fee3e7dcd1a9eb25d943f256373fcafdb29cc1d [file] [log] [blame]
//@ needs-asm-support
//@ only-x86_64
use std::arch::naked_asm;
#[unsafe(naked)]
#[target_feature(enable = "avx2")]
//~^ ERROR: `#[target_feature(/* ... */)]` is currently unstable on `#[naked]` functions
extern "C" fn naked() {
unsafe { naked_asm!("") }
}
fn main() {}