summaryrefslogtreecommitdiff
path: root/test/files/presentation/t5708/src/Completions.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/presentation/t5708/src/Completions.scala')
-rw-r--r--test/files/presentation/t5708/src/Completions.scala18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/files/presentation/t5708/src/Completions.scala b/test/files/presentation/t5708/src/Completions.scala
new file mode 100644
index 0000000000..1e9e5d5eb1
--- /dev/null
+++ b/test/files/presentation/t5708/src/Completions.scala
@@ -0,0 +1,18 @@
+package test
+
+object Compat {
+ final val CONST_STRING = "constant"
+ lazy val foo = 4
+
+ private val privateV = ""
+ private[test] val pkgPrivateV = ""
+ protected val protectedV = ""
+
+ private def privateM = ""
+ private[test] def pkgPrivateM = ""
+ protected def protectedValM = ""
+}
+
+class Foo {
+ Compat./*!*/CONST_STRING // its 'accessible' flag is false
+}