mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
20 lines
893 B
Plaintext
20 lines
893 B
Plaintext
// REQUIRES: objc_interop
|
|
// RUN: rm -rf %t && mkdir -p %t && %target-swift-frontend -c -update-code -primary-file %s -F %S/mock-sdk -api-diff-data-file %S/API.json -emit-migrated-file-path %t/rename.swift.result -emit-remap-file-path %t/rename.swift.remap
|
|
// RUN: diff -u %S/rename.swift.expected %t/rename.swift.result
|
|
|
|
import Bar
|
|
|
|
func foo(_ b: BarForwardDeclaredClass) {
|
|
b.barNewInstanceFunc1(_: 0, newlabel2: 1, newlabel3: 2, newlabel4: 3)
|
|
barGlobalFuncNewName(2)
|
|
b.barNewInstanceFunc1(_: 0, newlabel2: 1, newlabel3: 2, newlabel4: 3)
|
|
barGlobalFuncNewName(2)
|
|
b.barNewInstanceFunc1(_: 0, newlabel2: 1, newlabel3: 2, newlabel4: 3)
|
|
barGlobalFuncNewName(2)
|
|
b.barNewInstanceFunc1(_: 0, newlabel2: 1, newlabel3: 2, newlabel4: 3)
|
|
barGlobalFuncNewName(2)
|
|
b.barNewInstanceFunc1(_: 0, newlabel2: 1, newlabel3: 2, newlabel4: 3)
|
|
barGlobalFuncNewName(2)
|
|
_ = NewEnum.enumElement
|
|
}
|