mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We were emitting relative references to entities that might be in another translation unit. Use a GOT entry or thunk where appropriate. Fixes <rdar://problem/45901706>.
5 lines
86 B
Swift
5 lines
86 B
Swift
public struct A {
|
|
// note: not public
|
|
var foo: Int { get { return 0 } set { } }
|
|
}
|