mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
PrintAsClang: Fix unicode-scalar-reference.swift on watchOS
rdar://158076988
This commit is contained in:
@@ -19,6 +19,7 @@ func x_referencesRelated(a: CChar32, b: CWideChar) { }
|
||||
|
||||
#if !((os(macOS) || targetEnvironment(macCatalyst)) && arch(x86_64))
|
||||
// Actual test of Float16, on supported platforms.
|
||||
@available(watchOS 7.0, *)
|
||||
@_cdecl("referencesFloat16")
|
||||
func y_referencesFloat16(a: Float16, b: CFloat16) { }
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user