2018-04-05 15:02:11 +00:00
|
|
|
// Copyright 2018 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
|
|
|
// ignore-arm
|
|
|
|
// ignore-aarch64
|
|
|
|
// ignore-wasm
|
|
|
|
// ignore-emscripten
|
2018-07-31 09:01:27 +00:00
|
|
|
// ignore-mips
|
|
|
|
// ignore-mips64
|
2018-12-19 16:52:27 +00:00
|
|
|
// ignore-powerpc
|
|
|
|
// ignore-powerpc64
|
|
|
|
// ignore-powerpc64le
|
2018-12-19 16:53:03 +00:00
|
|
|
// ignore-sparc
|
|
|
|
// ignore-sparc64
|
2018-04-05 15:02:11 +00:00
|
|
|
// 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-aarch64_target_feature
|
|
|
|
// gate-test-hexagon_target_feature
|
|
|
|
// gate-test-mips_target_feature
|
|
|
|
// gate-test-mmx_target_feature
|
2018-08-08 00:10:06 +00:00
|
|
|
// gate-test-wasm_target_feature
|
2018-12-17 03:01:43 +00:00
|
|
|
// gate-test-adx_target_feature
|
|
|
|
// gate-test-cmpxchg16b_target_feature
|
|
|
|
// min-llvm-version 6.0
|
2018-04-05 15:02:11 +00:00
|
|
|
|
|
|
|
#[target_feature(enable = "avx512bw")]
|
|
|
|
//~^ ERROR: currently unstable
|
|
|
|
unsafe fn foo() {
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|