summaryrefslogtreecommitdiff
path: root/test/files/run/t2106.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t2106.scala')
-rw-r--r--test/files/run/t2106.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t2106.scala b/test/files/run/t2106.scala
index e8124dabab..55b89da805 100644
--- a/test/files/run/t2106.scala
+++ b/test/files/run/t2106.scala
@@ -4,5 +4,5 @@ class A extends Cloneable {
object Test {
val x = new A
- def main(args: Array[String]) = x.foo
+ def main(args: Array[String]): Unit = x.foo
}