1 2 3 4 5 6 7 8
class Test { def m = { case class C(c: Int) object C { def xxx = true} C(42).c C.xxx } }