blob: a652db11c6edb9409cff6cff6116024290761fbc [file] [log] [blame]
// RUN: %target-parse-verify-swift -F %S/Inputs/mock-sdk
// XFAIL: linux
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
}