aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t2809.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t2809.scala')
-rw-r--r--tests/untried/pos/t2809.scala20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/untried/pos/t2809.scala b/tests/untried/pos/t2809.scala
deleted file mode 100644
index 1f68b0b07..000000000
--- a/tests/untried/pos/t2809.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-package p1 {
- abstract class T1 {
- protected def bug(p: Int = 1): Int // without 'protected' compiles fine
- }
-}
-package p2 { // all being in the same package compiles fine
- import p1._
- abstract class T2 extends T1 {
- class A {
- bug()
- }
- }
-
- abstract class T3 extends T2 {
- class A {
- bug()
- }
- }
-}
-