blob: 4bce3edbd66ed6746657b0c9e8aba92f0b7a2e8d [file] [log] [blame]
// RUN: %target-typecheck-verify-swift -enable-objc-interop -F %S/Inputs/mock-sdk
import Foo
// Don't import 'FooHelper'.
func test1() {
_ = Foo.FooEnum1X
_ = Foo.FooSubEnum1X
// Even though 'FooHelper' is a separate module, because 'Foo' re-exports it,
// we allow qualifying members of 'FooHelper' with 'Foo'.
// If this changes, code completion needs to change.
_ = Foo.FooHelperSubEnum1X
}