summaryrefslogtreecommitdiff
path: root/test/files/neg/t4541b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t4541b.check')
-rw-r--r--test/files/neg/t4541b.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t4541b.check b/test/files/neg/t4541b.check
new file mode 100644
index 0000000000..54d9c3d1ee
--- /dev/null
+++ b/test/files/neg/t4541b.check
@@ -0,0 +1,7 @@
+t4541b.scala:13: error: scala.reflect.internal.Types$TypeError: variable data in class SparseArray cannot be accessed in SparseArray[Int]
+ Access to protected method data not permitted because
+ prefix type SparseArray[Int] does not conform to
+ class SparseArray$mcI$sp where the access take place
+ use(that.data.clone)
+ ^
+one error found \ No newline at end of file