mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
13 lines
642 B
Swift
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()
|