]> git.proxmox.com Git - rustc.git/blob - src/test/ui/target-feature/gate.rs
New upstream version 1.41.1+dfsg1
[rustc.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
29 #[target_feature(enable = "avx512bw")]
30 //~^ ERROR: currently unstable
31 unsafe fn foo() {
32 }
33
34 fn main() {}