aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t0612/Ob.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t0612/Ob.scala')
-rw-r--r--tests/pos/t0612/Ob.scala5
1 files changed, 5 insertions, 0 deletions
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 = {}
+}