Files
swift-mirror/test/ImportResolution/testable-vs-indirect-import.swift
Hamish Knight 5b99c2020f NFC: Re-organize NameBinding tests
The directory currently seems to have a mix of
tests for import resolution and name lookup.
Therefore split it into two directories;
ImportResolution and NameLookup.
2020-03-29 18:51:09 -07:00

13 lines
642 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -enable-testing -o %t/TestableVersusIndirect1.swiftmodule %S/Inputs/TestableVersusIndirect1.swift
// RUN: %target-swift-frontend -emit-module -enable-testing -o %t/TestableVersusIndirect2.swiftmodule %S/Inputs/TestableVersusIndirect2.swift
// RUN: %target-swift-frontend -emit-module -I %t -o %t/TestableVersusIndirectImporter.swiftmodule %S/Inputs/TestableVersusIndirectImporter.swift
// RUN: %target-swift-frontend -typecheck -I %t %s
@testable import TestableVersusIndirect1
import TestableVersusIndirectImporter
@testable import TestableVersusIndirect2
t1()
t2()