summaryrefslogtreecommitdiff
path: root/test/files/neg/t3118.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3118.scala')
-rw-r--r--test/files/neg/t3118.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t3118.scala b/test/files/neg/t3118.scala
index 75f3b8f50c..9be24c1ed4 100644
--- a/test/files/neg/t3118.scala
+++ b/test/files/neg/t3118.scala
@@ -1,8 +1,8 @@
class O1 {
private[this] case class C()
-
+
val x = new O1
-
+
println(x.C()) // should not be accessible
println(new x.C) // is correctly not accessible
}