mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
391 B
Plaintext
11 lines
391 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/property.swift.result -disable-migrator-fixits
|
|
// RUN: diff -u %S/property.swift.expected %t/property.swift.result
|
|
|
|
import Bar
|
|
|
|
func foo(_ a : PropertyUserInterface) {
|
|
a.Field = 1
|
|
_ = a.field
|
|
}
|