summaryrefslogtreecommitdiff
path: root/test/files/pos/t1722/Top.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t1722/Top.scala')
-rwxr-xr-xtest/files/pos/t1722/Top.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/pos/t1722/Top.scala b/test/files/pos/t1722/Top.scala
index 4ac52412aa..cec4c531f9 100755
--- a/test/files/pos/t1722/Top.scala
+++ b/test/files/pos/t1722/Top.scala
@@ -3,8 +3,8 @@ package t1722
sealed trait Top
trait C {
private object P extends Top
-}
-/*
+}
+/*
$ scala -e 'new AnyRef with C'
error: error while loading Top, class file '/private/tmp/bobobo/./Top.class' is broken
(error reading Scala signature of /private/tmp/bobobo/./Top.class: malformed Scala signature of Top at 185; reference value P of trait C refers to nonexisting symbol.)