summaryrefslogtreecommitdiff
path: root/test/files/neg/t0152.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t0152.scala')
-rw-r--r--test/files/neg/t0152.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t0152.scala b/test/files/neg/t0152.scala
index eef69bf767..d86d59e974 100644
--- a/test/files/neg/t0152.scala
+++ b/test/files/neg/t0152.scala
@@ -6,7 +6,7 @@ trait PlusOne extends Value[Int] {
override def value = super.value + 1
}
-object Test extends Application {
+object Test extends App {
object boom extends Value[java.lang.String]("foo") with PlusOne
println(boom.value) // class cast exception!