aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/SI-4012-a.scala
blob: 8ce8e5691cbab5da6d059dc98896fd653689af43 (plain) (blame)
1
2
3
4
5
6
7
trait C1[+A] {
  def head: A = sys.error("")
}
trait C2[@specialized +A] extends C1[A] {
  override def head: A = super.head
}
class C3 extends C2[Char]