From b51b60b2275128b7443809211fa5d321b0d1f7cc Mon Sep 17 00:00:00 2001 From: Mike Ash Date: Mon, 25 Mar 2019 20:51:17 -0400 Subject: [PATCH] [RemoteMirror] Add missing test.swift file for interop tests. --- unittests/Reflection/RemoteMirrorInterop/test.swift | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 unittests/Reflection/RemoteMirrorInterop/test.swift diff --git a/unittests/Reflection/RemoteMirrorInterop/test.swift b/unittests/Reflection/RemoteMirrorInterop/test.swift new file mode 100644 index 00000000000..da7959c2c56 --- /dev/null +++ b/unittests/Reflection/RemoteMirrorInterop/test.swift @@ -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()