mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
404 B
Plaintext
10 lines
404 B
Plaintext
// REQUIRES: objc_interop
|
|
// RUN: %empty-directory(%t) && %target-swift-frontend -c -update-code -primary-file %s -F %S/mock-sdk -api-diff-data-file %S/Inputs/API.json -emit-migrated-file-path %t/rename-init.swift.result -disable-migrator-fixits -o /dev/null
|
|
// RUN: diff -u %S/rename-init.swift.expected %t/rename-init.swift.result
|
|
|
|
import Bar
|
|
|
|
func foo() {
|
|
_ = BarForwardDeclaredClass(newlabel1:1)
|
|
}
|