aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/t0612/C.scala6
-rw-r--r--tests/pos/t0612/Ob.scala5
-rw-r--r--tests/pos/t0774/deathname.scala (renamed from tests/untried/pos/t0774/deathname.scala)0
-rw-r--r--tests/pos/t0774/unrelated.scala (renamed from tests/untried/pos/t0774/unrelated.scala)0
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/pos/t0612/C.scala b/tests/pos/t0612/C.scala
new file mode 100644
index 000000000..1f260a5b0
--- /dev/null
+++ b/tests/pos/t0612/C.scala
@@ -0,0 +1,6 @@
+package test
+package app
+
+class C {
+ Ob.f
+}
diff --git a/tests/pos/t0612/Ob.scala b/tests/pos/t0612/Ob.scala
new file mode 100644
index 000000000..d12e64963
--- /dev/null
+++ b/tests/pos/t0612/Ob.scala
@@ -0,0 +1,5 @@
+package test
+
+object Ob {
+ protected[test] def f: Unit = {}
+}
diff --git a/tests/untried/pos/t0774/deathname.scala b/tests/pos/t0774/deathname.scala
index 8b1378917..8b1378917 100644
--- a/tests/untried/pos/t0774/deathname.scala
+++ b/tests/pos/t0774/deathname.scala
diff --git a/tests/untried/pos/t0774/unrelated.scala b/tests/pos/t0774/unrelated.scala
index 1efdb2505..1efdb2505 100644
--- a/tests/untried/pos/t0774/unrelated.scala
+++ b/tests/pos/t0774/unrelated.scala