aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t7556/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t7556/Test_2.scala')
-rw-r--r--tests/pending/run/t7556/Test_2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/t7556/Test_2.scala b/tests/pending/run/t7556/Test_2.scala
index a78c917ed..4dd482ff3 100644
--- a/tests/pending/run/t7556/Test_2.scala
+++ b/tests/pending/run/t7556/Test_2.scala
@@ -1,7 +1,7 @@
import scala.reflect.runtime.universe._
object Test {
- def main(args: Array[String]) {
+ def main(args: Array[String]): Unit = {
val mc = new MegaClass
val anns = mc.getClass.getAnnotations.map(_.annotationType.getName).toList.sorted
println(s"class annotations: $anns")