Might as well test both directions. A neg test could also demonstrate that `{ object O; { class O } }` aren't companion.

I improved the status quo in scalac recently for local companions, BTW. https://github.com/scala/scala/commit/28bf4ada31119712b415b2b2f6aeb87f0431eb48