Skip to content

Commit e147fbe

Browse files
committed
Add a test for scala#743 to pending.
1 parent a43d39a commit e147fbe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pending/pos/i743.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
object NonLocalReturn {
2+
def foo(a: List[Int]): Int = {
3+
a.foreach(x => return x)
4+
0
5+
}
6+
}

0 commit comments

Comments
 (0)