aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t6563.scala
blob: 33db51b0f949c9159205d294b337d38a3b4dfc9d (plain) (blame)
1
2
3
4
5
6
7
8
class A{
  def b(c: => Unit): Unit = {}
  b{
    e("f")
    new G()(){}
 }
}
class G(h:String="i")()