summaryrefslogtreecommitdiff
path: root/test/files/neg/t2078.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t2078.scala')
-rw-r--r--test/files/neg/t2078.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t2078.scala b/test/files/neg/t2078.scala
index 03eaa7ed0b..342ba088c7 100644
--- a/test/files/neg/t2078.scala
+++ b/test/files/neg/t2078.scala
@@ -5,5 +5,5 @@ class A[-S](y : S) {
object Test extends App {
val a = new A(1)
val b = a : A[Nothing]
- b.f.x
+ println(b.f.x)
}