summaryrefslogtreecommitdiff
path: root/test/files/run/t9223b.scala
blob: 2afc7ddfe09bf0bb7ba349052ab3b5d78aedef73 (plain) (blame)
1
2
3
4
5
6
7
8
class X(x: => String) { def xx = x }
class Y(y: String) extends X(y) { def f = y }

object Test {
  def main(args: Array[String]): Unit = {
     assert(new Y("hi").f == "hi")
  }
}