Skip to content

Commit 20b3b14

Browse files
authored
Merge pull request #75686 from swiftlang/gaborh/watchos-test-fix
[cxx-interop] Fix test encoding data layout in expectations
2 parents 4c3c612 + 67fbe8f commit 20b3b14

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/Interop/SwiftToCxx/enums/enum-associated-value-class-type-cxx.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
// RUN: %check-interop-cxx-header-in-clang(%t/enums.h -Wno-unused-private-field -Wno-unused-function -DSWIFT_CXX_INTEROP_HIDE_STL_OVERLAY)
66

7-
// rdar://124466216
8-
// UNSUPPORTED: OS=watchos
9-
107
public class C {
118
public var x: Int
129
public init(x: Int) { self.x = x }
@@ -56,7 +53,7 @@ public enum G<T> {
5653
// CHECK-NEXT: }
5754

5855
// CHECK: SWIFT_INLINE_THUNK bool E::matchesIntValue(swift::Int value) const {
59-
// CHECK-NEXT: return _impl::$s5Enums1EO15matchesIntValueySbSiF(value, _impl::swift_interop_passDirect_Enums_uint64_t_0_8_uint8_t_8_9(_getOpaquePointer()));
56+
// CHECK-NEXT: return _impl::$s5Enums1EO15matchesIntValueySbSiF(value, _impl::swift_interop_passDirect_Enums_{{.*}}(_getOpaquePointer()));
6057

6158
// CHECK: SWIFT_INLINE_THUNK swift::Array<C> F::getB() const {
6259
// CHECK-NEXT: if (!isB()) abort();

0 commit comments

Comments
 (0)