about summary refs log tree commit diff
path: root/tests/codegen/simd/simd_arith_offset.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/simd/simd_arith_offset.rs')
-rw-r--r--tests/codegen/simd/simd_arith_offset.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/codegen/simd/simd_arith_offset.rs b/tests/codegen/simd/simd_arith_offset.rs
index e14fce1d418..475ac37804f 100644
--- a/tests/codegen/simd/simd_arith_offset.rs
+++ b/tests/codegen/simd/simd_arith_offset.rs
@@ -5,9 +5,7 @@
 #![crate_type = "lib"]
 #![feature(repr_simd, intrinsics)]
 
-extern "rust-intrinsic" {
-    pub(crate) fn simd_arith_offset<T, U>(ptrs: T, offsets: U) -> T;
-}
+use std::intrinsics::simd::simd_arith_offset;
 
 /// A vector of *const T.
 #[derive(Debug, Copy, Clone)]