Skip to content

Commit da61e1f

Browse files
committed
test: Add test for issue #1460
1 parent be35893 commit da61e1f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/run-pass/issue-1460.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
fn main() {
3+
{|i| if i == 1 { }};
4+
}

0 commit comments

Comments
 (0)