Skip to content

Commit 04499a7

Browse files
authored
Merge pull request #83667 from xymus/scalar-printing-watchos-fix
PrintAsClang: Fix test unicode-scalar-reference on watchOS
2 parents ec38c6e + 839a334 commit 04499a7

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)