blob: 25f0a73e04d02584a9f5d4a883a541e14b12f68e (
plain) (
tree)
|
|
import scala.tools.partest.ReplTest
object Test extends ReplTest {
def code = """
:silent
class A { override def toString() = { println("!"); "A" } }
val a = new A
var b: A = new A
b = new A
new A
:silent
res0
"""
}
|