Files
swift-mirror/test/ModuleInterface/linking-to-module.swift
Harlan Haskins d3b8ce7ae2 [test] Update ParseableInterface to ModuleInterface
Also remove uses of -emit-parseable-module-interface from tests
2019-09-13 14:55:48 -07:00

11 lines
441 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-build-swift -emit-library -module-name TestModule -module-link-name coreTestModuleKitUtilsTool %S/Inputs/TestModule.swift -emit-module-interface -o %t/%target-library-name(coreTestModuleKitUtilsTool)
// RUN: %target-swift-frontend -emit-ir -I %t -L %t %s | %FileCheck %s
import TestModule
_ = TestStruct()
// CHECK: {{-lcoreTestModuleKitUtilsTool|/DEFAULTLIB:coreTestModuleKitUtilsTool.lib}}