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