Skip to content

Commit 839a334

Browse files
committed
PrintAsClang: Fix unicode-scalar-reference.swift on watchOS
rdar://158076988
1 parent 09edc47 commit 839a334

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/PrintAsObjC/unicode-scalar-reference.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ func x_referencesRelated(a: CChar32, b: CWideChar) { }
1919

2020
#if !((os(macOS) || targetEnvironment(macCatalyst)) && arch(x86_64))
2121
// Actual test of Float16, on supported platforms.
22+
@available(watchOS 7.0, *)
2223
@_cdecl("referencesFloat16")
2324
func y_referencesFloat16(a: Float16, b: CFloat16) { }
2425
#else

0 commit comments

Comments
 (0)