Files
swift-mirror/test/IRGen/Inputs/ABIInaccessible.swift
Arnold Schwaighofer 97845c0a5c IRGen: Don't pass metadata of not ABI accessible to outlined copy/destroy operations
Doing so will cause linkage errors and is not neccessary since we call
the witness of the enclosing type as soon as its fields are not ABI
accessible.

rdar://40868358
2018-06-07 13:58:01 -07:00

14 lines
173 B
Swift

private struct Private<T> {
init(_ t: T) {
p = t
}
var p : T
}
public struct Public<T> {
init(_ t: T) {
p = Private<T>(t)
}
private var p: Private<T>
}