Skip to content

Commit 04cc821

Browse files
committed
Add a test for rust-lang#3465
1 parent b6dac24 commit 04cc821

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

tests/source/issue-3465.rs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
fn main() {
2+
((((((((((((((((((((((((((((((((((((((((((0) + 1) + 1)
3+
+ 1)
4+
+ 1)
5+
+ 1)
6+
+ 1)
7+
+ 1)
8+
+ 1)
9+
+ 1)
10+
+ 1)
11+
+ 1)
12+
+ 1)
13+
+ 1)
14+
+ 1)
15+
+ 1)
16+
+ 1)
17+
+ 1)
18+
+ 1)
19+
+ 1)
20+
+ 1)
21+
+ 1)
22+
+ 1)
23+
+ 1)
24+
+ 1)
25+
+ 1)
26+
+ 1)
27+
+ 1)
28+
+ 1)
29+
+ 1)
30+
+ 1)
31+
+ 1)
32+
+ 1)
33+
+ 1)
34+
+ 1)
35+
+ 1)
36+
+ 1)
37+
+ 1)
38+
+ 1)
39+
+ 1)
40+
+ 1)
41+
+ 1);
42+
}

tests/target/issue-3465.rs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
fn main() {
2+
((((((((((((((((((((((((((((((((((((((((((0) + 1) + 1)
3+
+ 1)
4+
+ 1)
5+
+ 1)
6+
+ 1)
7+
+ 1)
8+
+ 1)
9+
+ 1)
10+
+ 1)
11+
+ 1)
12+
+ 1)
13+
+ 1)
14+
+ 1)
15+
+ 1)
16+
+ 1)
17+
+ 1)
18+
+ 1)
19+
+ 1)
20+
+ 1)
21+
+ 1)
22+
+ 1)
23+
+ 1)
24+
+ 1)
25+
+ 1)
26+
+ 1)
27+
+ 1)
28+
+ 1)
29+
+ 1)
30+
+ 1)
31+
+ 1)
32+
+ 1)
33+
+ 1)
34+
+ 1)
35+
+ 1)
36+
+ 1)
37+
+ 1)
38+
+ 1)
39+
+ 1)
40+
+ 1)
41+
+ 1);
42+
}

0 commit comments

Comments
 (0)