blob: 5056f32de445ee47bbb28f640994fce2e6884fa9 [file] [log] [blame]
//@only-target-wasm32: tests WASM-specific behavior
//@compile-flags: -C target-feature=-simd128
fn main() {
// Calling functions with `#[target_feature]` is not unsound on WASM, see #84988
assert!(!cfg!(target_feature = "simd128"));
simd128_fn();
}
#[target_feature(enable = "simd128")]
fn simd128_fn() {}