]> git.lizzy.rs Git - rust.git/blob - tests/target/issue-2197.rs
Add a test for #2197
[rust.git] / tests / target / issue-2197.rs
1 // rustfmt-max_width: 79
2 // rustfmt-wrap_comments: true
3 // rustfmt-error_on_line_overflow: false
4
5 /// ```rust
6 /// unsafe fn sum_sse2(x: i32x4) -> i32 {
7 ///     let x = vendor::_mm_add_epi32(x, vendor::_mm_srli_si128(x.into(), 8).into());
8 ///     let x = vendor::_mm_add_epi32(x, vendor::_mm_srli_si128(x.into(), 4).into());
9 ///     vendor::_mm_cvtsi128_si32(x)
10 /// }
11 /// ```
12 fn foo() {}