abstract class A {
  val s: Int
  assert(s == 1)
}

class B(val s: Int) extends A

object Test extends B(1) {
  def main(args: Array[String]): Unit = {
    s
  }
}

Test that fields are correctly set before super constructor is called.
Test that fields are correctly set before super constructor is called.
