summaryrefslogtreecommitdiff
path: root/test/files/pos/exceptions.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/exceptions.scala')
-rw-r--r--test/files/pos/exceptions.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/files/pos/exceptions.scala b/test/files/pos/exceptions.scala
index 7c376f3aac..c47b0e4785 100644
--- a/test/files/pos/exceptions.scala
+++ b/test/files/pos/exceptions.scala
@@ -7,7 +7,8 @@ object test {
def main(): Unit = {
try {
try {
- error("hi!");
+ System.out.println("hi!");
+ error("xx");
} finally {
System.out.println("ho!")
}
@@ -18,4 +19,4 @@ object test {
}
main();
-} \ No newline at end of file
+}