object Test extends App { val x = M; object M; assert(x eq M) }