Skip to content

Commit c49526a

Browse files
committed
Add a test for #2197
1 parent 483f71c commit c49526a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/target/issue-2197.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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() {}

0 commit comments

Comments
 (0)