diff options
Diffstat (limited to 'test/files/pos/t3946/Test_1.scala')
-rw-r--r-- | test/files/pos/t3946/Test_1.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t3946/Test_1.scala b/test/files/pos/t3946/Test_1.scala new file mode 100644 index 0000000000..0cceff3aab --- /dev/null +++ b/test/files/pos/t3946/Test_1.scala @@ -0,0 +1,12 @@ +package q { + class B extends p.A { + override protected def f() { } + } +} + +package p { + object T { + val a = new A() + a.f() + } +} |