aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t6154.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t6154.scala')
-rw-r--r--tests/pending/run/t6154.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/t6154.scala b/tests/pending/run/t6154.scala
index 02ef62905..47773490a 100644
--- a/tests/pending/run/t6154.scala
+++ b/tests/pending/run/t6154.scala
@@ -1,5 +1,5 @@
object Test {
- def foo(a: Int) {
+ def foo(a: Int): Unit = {
var bar: Int = 0
bar = try { 0 } catch { case ex: Throwable => 0 }
new { foo(bar) }