class A { class Nested fun main() { val x = ::Nested val y = A::Nested } }