]> git.lizzy.rs Git - rust.git/blob - src/test/ui/target-feature-gate.rs
Auto merge of #62339 - pnkfelix:issue-61188-use-visitor-for-structural-match-check...
[rust.git] / src / test / ui / target-feature-gate.rs
1 // ignore-arm
2 // ignore-aarch64
3 // ignore-wasm
4 // ignore-emscripten
5 // ignore-mips
6 // ignore-mips64
7 // ignore-powerpc
8 // ignore-powerpc64
9 // ignore-powerpc64le
10 // ignore-sparc
11 // ignore-sparc64
12 // ignore-s390x
13 // gate-test-sse4a_target_feature
14 // gate-test-powerpc_target_feature
15 // gate-test-avx512_target_feature
16 // gate-test-tbm_target_feature
17 // gate-test-arm_target_feature
18 // gate-test-aarch64_target_feature
19 // gate-test-hexagon_target_feature
20 // gate-test-mips_target_feature
21 // gate-test-mmx_target_feature
22 // gate-test-wasm_target_feature
23 // gate-test-adx_target_feature
24 // gate-test-cmpxchg16b_target_feature
25 // gate-test-movbe_target_feature
26 // gate-test-rtm_target_feature
27 // gate-test-f16c_target_feature
28 // min-llvm-version 6.0
29
30 #[target_feature(enable = "avx512bw")]
31 //~^ ERROR: currently unstable
32 unsafe fn foo() {
33 }
34
35 fn main() {}