aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t1909c.scala
blob: 50e06b39e1bc97752e6e6d420fbeb621a789bb83 (plain) (blame)
1
2
3
4
5
6
7
8
9
class Base(a: Any)

// java.lang.VerifyError: (class: Sub, method: <init> signature: ()V) Expecting to find object/array on stack
//  at Test$.<init>(t1909c.scala)
class Sub() extends Base({ def bippy = 5; bippy })

object Test extends dotty.runtime.LegacyApp {
  new Sub()
}