]> git.lizzy.rs Git - rust.git/blob - src/test/ui/target-feature-gate.rs
Add MOVBE feature
[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 // min-llvm-version 6.0
27
28 #[target_feature(enable = "avx512bw")]
29 //~^ ERROR: currently unstable
30 unsafe fn foo() {
31 }
32
33 fn main() {}