Skip to content

Commit 21de99e

Browse files
authored
Add regression test for #1628. (#1629)
Add regression test for #1628. Looks like this was already fixed by #1615. Close #1628.
1 parent b6e6bfc commit 21de99e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

test/tall/regression/1600/1628.unit

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
>>>
2+
bool f(bool b, int i) {
3+
return // Check b.
4+
b == true || i.isEven;
5+
}
6+
<<<
7+
bool f(bool b, int i) {
8+
return // Check b.
9+
b == true || i.isEven;
10+
}
11+
>>>
12+
bool f(bool b, int i) {
13+
return // Check b.
14+
b == true ||
15+
// Check i.
16+
i
17+
.isEven;
18+
}
19+
<<<
20+
bool f(bool b, int i) {
21+
return // Check b.
22+
b == true ||
23+
// Check i.
24+
i.isEven;
25+
}

0 commit comments

Comments
 (0)