summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions-2.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2007-07-12 15:00:17 +0000
committerIulian Dragos <jaguarul@gmail.com>2007-07-12 15:00:17 +0000
commit8b78ce001230be826d9cda61f4d5973ffe007f0b (patch)
tree29c9b5cb463c39eea06b8f3587d01007c03b7d30 /test/files/run/exceptions-2.scala
parent080802c84dd71fe6b6912025d4338e8b122a6a9a (diff)
downloadscala-8b78ce001230be826d9cda61f4d5973ffe007f0b.tar.gz
scala-8b78ce001230be826d9cda61f4d5973ffe007f0b.tar.bz2
scala-8b78ce001230be826d9cda61f4d5973ffe007f0b.zip
Guarded one test against the constant folder.
Diffstat (limited to 'test/files/run/exceptions-2.scala')
-rw-r--r--test/files/run/exceptions-2.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/exceptions-2.scala b/test/files/run/exceptions-2.scala
index 3802297d84..e26b2e4a84 100644
--- a/test/files/run/exceptions-2.scala
+++ b/test/files/run/exceptions-2.scala
@@ -115,7 +115,8 @@ object Test {
def withValue1: Unit = {
val x = try {
- 10
+ var y = 10
+ y
} finally {
Console.println("Oh, oh");
};