blob: 67baead5f16a4245b61f3e364e15fd4474055757 (
plain) (
tree)
|
|
object Test
{
def main(args : Array[String]) : Unit = Console.println(new C(1))
}
abstract class A(val x : Int)
class C(x : Int) extends A(x)
{
override def toString() = "OK"
val v = new D
class D { def value = x }
}
|