aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1531.scala
blob: 3c05e9509f700215a03c2c242cec48aa82683ee0 (plain) (blame)
1
2
3
4
5
6
trait T {
  def f: Int
}

class A(f: Int) extends T // error: class A needs to be abstract