mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
636 B
Swift
14 lines
636 B
Swift
import SwiftModule
|
|
|
|
func foo(
|
|
_ structDefinedInSwiftModule: StructDefinedInSwiftModule
|
|
) {
|
|
structDefinedInSwiftModule.
|
|
}
|
|
|
|
// CHECK: key.name: "methodDefinedInSwiftModule()"
|
|
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-parseable-module-interface-path %t/SwiftModule.swiftinterface -module-name SwiftModule -emit-module -o /dev/null %S/../Inputs/vfs/SwiftModule/SwiftModule.swift
|
|
// RUN: %sourcekitd-test -req=complete -pos=6:31 -vfs-files=/target_file1.swift=%s,/SwiftModule/SwiftModule.swiftinterface=%t/SwiftModule.swiftinterface /target_file1.swift -- /target_file1.swift -I /SwiftModule | %FileCheck %s
|