Skip to content

Commit 8d5c27e

Browse files
authored
Merge pull request #78756 from eeckstein/fix-test
tests: fix Interop/Cxx/objc-correctness/appkit-uikit.swift for iOS
2 parents 2e4e1c0 + 34a6873 commit 8d5c27e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Interop/Cxx/objc-correctness/appkit-uikit.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
// REQUIRES: objc_interop
44
// REQUIRES: VENDOR=apple
5+
// REQUIRES: OS=macosx || OS=ios
56

67
#if canImport(AppKit)
78
import AppKit
@@ -11,6 +12,6 @@ var _: AttributeScopes.AppKitAttributes.UnderlineStyleAttribute! = nil
1112
#elseif canImport(UIKit)
1213
import UIKit
1314

14-
var _: AttributeScopes.AppKitAttributes.UnderlineStyleAttribute! = nil
15+
var _: AttributeScopes.UIKitAttributes.UnderlineStyleAttribute! = nil
1516

1617
#endif

0 commit comments

Comments
 (0)