mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
8 lines
210 B
Swift
8 lines
210 B
Swift
@_implementationOnly import UserA
|
|
|
|
public func testUsesA() {
|
|
let wrapper = MagicWrapperDerived()
|
|
// This will force Swift to use __swift_interopStaticCast from CxxShim here.
|
|
print(wrapper.baseMethod())
|
|
}
|