rust/tests/ui/feature-gates/feature-gate-xop_target_feature.rs

7 lines
114 B
Rust
Raw Normal View History

//@ only-x86_64
#[target_feature(enable = "xop")]
//~^ ERROR: currently unstable
unsafe fn foo() {}
fn main() {}