diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-07-28 14:55:28 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-07-28 14:55:28 +0200 |
commit | e147fbe1bb2ceeeb464028cd2c92238ad57a3ae1 (patch) | |
tree | fcaba5e2303e3c9ca7e960a3aaf61cfe7019ce21 /tests | |
parent | a43d39ad719978fbb36663f336c1c7cd2c4da1e0 (diff) | |
download | dotty-e147fbe1bb2ceeeb464028cd2c92238ad57a3ae1.tar.gz dotty-e147fbe1bb2ceeeb464028cd2c92238ad57a3ae1.tar.bz2 dotty-e147fbe1bb2ceeeb464028cd2c92238ad57a3ae1.zip |
Add a test for #743 to pending.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pending/pos/i743.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pending/pos/i743.scala b/tests/pending/pos/i743.scala new file mode 100644 index 000000000..8fe522cee --- /dev/null +++ b/tests/pending/pos/i743.scala @@ -0,0 +1,6 @@ +object NonLocalReturn { + def foo(a: List[Int]): Int = { + a.foreach(x => return x) + 0 + } +} |