fn simd_and<T>(x: T, y: T) -> T;
fn simd_or<T>(x: T, y: T) -> T;
fn simd_xor<T>(x: T, y: T) -> T;
+
+ fn simd_neg<T>(x: T) -> T;
}
fn main() {
simd_xor(x, x);
simd_xor(y, y);
+ simd_neg(x);
+ simd_neg(z);
+
simd_add(0, 0);
//~^ ERROR expected SIMD input type, found non-SIMD `i32`
simd_xor(0, 0);
//~^ ERROR expected SIMD input type, found non-SIMD `i32`
+ simd_neg(0);
+ //~^ ERROR expected SIMD input type, found non-SIMD `i32`
+
simd_shl(z, z);
//~^ ERROR unsupported operation on `f32x4` with element `f32`