import scala._; object test { val x: Ref[Int] = new Ref(1); }