rust/tests/ui/target-feature/gate.rs

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

27 lines
736 B
Rust
Raw Normal View History

// only-x86_64
//
// gate-test-sse4a_target_feature
// gate-test-powerpc_target_feature
// gate-test-avx512_target_feature
// gate-test-tbm_target_feature
// gate-test-arm_target_feature
// gate-test-hexagon_target_feature
// gate-test-mips_target_feature
2018-08-08 00:10:06 +00:00
// gate-test-wasm_target_feature
// gate-test-adx_target_feature
// gate-test-cmpxchg16b_target_feature
2019-01-30 13:27:55 +00:00
// gate-test-movbe_target_feature
2019-04-17 23:38:54 +00:00
// gate-test-rtm_target_feature
// gate-test-f16c_target_feature
2020-03-01 09:52:04 +00:00
// gate-test-riscv_target_feature
// gate-test-ermsb_target_feature
2021-05-29 12:58:04 +00:00
// gate-test-bpf_target_feature
2022-02-10 16:43:45 +00:00
// gate-test-aarch64_ver_target_feature
// gate-test-csky_target_feature
#[target_feature(enable = "avx512bw")]
//~^ ERROR: currently unstable
2020-09-03 18:14:15 +00:00
unsafe fn foo() {}
fn main() {}