Files
swift-mirror/test/ClangImporter/MixedSource/submodule.swift
2022-08-12 06:58:42 +03:00

15 lines
411 B
Swift

// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -I %S/Inputs/submodule -module-name Mixed %s
@_exported import Mixed
@_exported import Mixed.Submodule
// https://github.com/apple/swift/issues/54693
// Make sure we can perform a scoped import on a submodule in a mixed
// source target.
import func Mixed.Submodule.fromSubmodule
func test() {
topLevel()
fromSubmodule()
}