summaryrefslogtreecommitdiff
path: root/test/files/run/sigtp.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/sigtp.scala')
-rw-r--r--test/files/run/sigtp.scala8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/files/run/sigtp.scala b/test/files/run/sigtp.scala
index cd38184109..3e162cfdba 100644
--- a/test/files/run/sigtp.scala
+++ b/test/files/run/sigtp.scala
@@ -9,7 +9,9 @@ final class Bug[A, B](val key: A) extends BugBase[A, Bug[A, B]] {
def foo = next
}
-object Test extends App with SigTest {
- show[BugBase[_, _]]()
- show[Bug[_, _]]()
+object Test extends SigTest {
+ def main(args: Array[String]): Unit = {
+ show[BugBase[_, _]]()
+ show[Bug[_, _]]()
+ }
}