summaryrefslogtreecommitdiff
path: root/test/files/pos/t0644.scala
blob: a92e2abb53569477db1b577afec742032c98ac96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
class A {
  def apply(): Int = 0
  def update(n: Int) {}
}

class B extends A {
  this()
  this()=1
  // 644 is wontfix so this is what should work.
  super.apply()
  super.update(1)
}