mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[RemoteMirror] Add missing test.swift file for interop tests.
This commit is contained in:
11
unittests/Reflection/RemoteMirrorInterop/test.swift
Normal file
11
unittests/Reflection/RemoteMirrorInterop/test.swift
Normal file
@@ -0,0 +1,11 @@
|
||||
@_cdecl("test")
|
||||
public func test() -> UInt {
|
||||
return unsafeBitCast(c, to: UInt.self)
|
||||
}
|
||||
|
||||
class C {
|
||||
let x = "123"
|
||||
let y = 456
|
||||
}
|
||||
|
||||
let c = C()
|
||||
Reference in New Issue
Block a user