diff options
Diffstat (limited to 'tests/pos/t3272.scala')
-rw-r--r-- | tests/pos/t3272.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/pos/t3272.scala b/tests/pos/t3272.scala new file mode 100644 index 000000000..cf54d6a84 --- /dev/null +++ b/tests/pos/t3272.scala @@ -0,0 +1,8 @@ +trait A { + trait C[+T] { + protected[this] def f(t: T): Unit = {} + } + trait D[T] extends C[T] { + def g(t: T): Unit = { f(t) } + } +} |