mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
144 B
Swift
12 lines
144 B
Swift
@_cdecl("test")
|
|
public func test() -> UInt {
|
|
return unsafeBitCast(c, to: UInt.self)
|
|
}
|
|
|
|
class C {
|
|
let x = "123"
|
|
let y = 456
|
|
}
|
|
|
|
let c = C()
|