rust/tests/ui/rfcs/rfc-2396-target_feature-11/issue-108645-target-feature...

8 lines
167 B
Rust

//@ only-x86_64
#![feature(target_feature_11)]
#[target_feature(enable = "avx2")]
fn main() {}
//~^ ERROR `main` function is not allowed to have `#[target_feature]`