blob: 38ee597299fcadaa256272fec6d54acaf99c64a3 (
plain) (
tree)
|
|
object Test {
class E[@specialized(Int) A](var f: A => Boolean) {
def this() = this(null)
println("hello?")
if (f == null) f = { _ => false }
}
def main(args: Array[String]) {
new E[Int]
println("goodbye")
println(runtime.BoxesRunTime.integerBoxCount)
}
}
|