summaryrefslogtreecommitdiff
path: root/test/files/pos/t3869.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2011-01-04 14:52:45 +0000
committerIulian Dragos <jaguarul@gmail.com>2011-01-04 14:52:45 +0000
commit5c5657c29922fa2ac9eec763176fc2eda5c7b436 (patch)
tree650f04105833a3f471ae9df894e9aef3008dd84e /test/files/pos/t3869.scala
parent55d1ee6d8b4061d2c65b8c5e88bd59b4be9c5b5d (diff)
downloadscala-5c5657c29922fa2ac9eec763176fc2eda5c7b436.tar.gz
scala-5c5657c29922fa2ac9eec763176fc2eda5c7b436.tar.bz2
scala-5c5657c29922fa2ac9eec763176fc2eda5c7b436.zip
Closes #3869. no review.
Diffstat (limited to 'test/files/pos/t3869.scala')
-rw-r--r--test/files/pos/t3869.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/t3869.scala b/test/files/pos/t3869.scala
new file mode 100644
index 0000000000..acd19abb24
--- /dev/null
+++ b/test/files/pos/t3869.scala
@@ -0,0 +1,10 @@
+
+// see ticket #3869
+object Test {
+ def f: Unit =
+ try return finally while(true) ()
+
+ def main(args: Array[String]) {
+ f
+ }
+}