]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const_arg_wrapper.rs
Auto merge of #64546 - weiznich:bugfix/rfc-2451-rerebalance-tests, r=nikomatsakis
[rust.git] / src / test / ui / consts / const_arg_wrapper.rs
1 // only-x86_64
2
3 #[cfg(target_arch = "x86")]
4 use std::arch::x86::*;
5 #[cfg(target_arch = "x86_64")]
6 use std::arch::x86_64::*;
7
8 unsafe fn pclmul(a: __m128i, b: __m128i, imm8: i32) -> __m128i {
9     _mm_clmulepi64_si128(a, b, imm8) //~ ERROR argument 3 is required to be a constant
10 }
11
12 fn main() {}