aboutsummaryrefslogblamecommitdiff
path: root/tests/untried/pos/t1832.scala
blob: 7e435d70b583f45ddaf318440f00d31447cc70d5 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                 
trait Cloning {
  trait Foo
  def fn(g: Any => Unit): Foo

  implicit def mkStar(i: Int) = new { def *(a: Foo): Foo = null }

  val pool = 4 * fn { case ghostSYMBOL: Int => ghostSYMBOL * 2 }
}