summaryrefslogblamecommitdiff
path: root/test/pending/run/t4560.scala
blob: fe62136319d847fb2f6906e9dd9765e869d9709d (plain) (tree)
1
2
3
4
5
6
7
8
9








                                              
trait B {
  this: Test.type =>

  def y = new { def f() = () }
  def fail() = y.f()
}
object Test extends B {
  def main(args: Array[String]): Unit = fail()
}