package test import test.A.C class A { class C { } } class B { val x = A.C() }