mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This converts the instances of the pattern for which we have a proper substitution in lit. This will make it easier to replace it appropriately with Windows equivalents.
12 lines
302 B
Swift
12 lines
302 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %swift -emit-module -o %t/test_module.swiftmodule %S/Inputs/test_module.swift
|
|
|
|
// RUN: %sourcekitd-test -req=index %s -- %s -I %t | %sed_clean > %t.response
|
|
// RUN: diff -u %s.response %t.response
|
|
|
|
import func test_module.globalFunc
|
|
|
|
func test() {
|
|
globalFunc()
|
|
}
|