Skip to content

Commit d067f07

Browse files
committed
[nfc] Fix enum tests on Windows.
On windows enum's use a signed int.
1 parent 57ae206 commit d067f07

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Interop/Cxx/class/inheritance/sub-types-module-interface.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
// CHECK-NEXT: case ecc
1212
// CHECK-NEXT: }
1313
// CHECK-NEXT: struct Enum : Equatable, RawRepresentable {
14-
// CHECK-NEXT: init(_ rawValue: UInt32)
15-
// CHECK-NEXT: init(rawValue: UInt32)
16-
// CHECK-NEXT: var rawValue: UInt32
17-
// CHECK-NEXT: typealias RawValue = UInt32
14+
// CHECK-NEXT: init(_ rawValue: {{UInt32|Int32}})
15+
// CHECK-NEXT: init(rawValue: {{UInt32|Int32}})
16+
// CHECK-NEXT: var rawValue: {{UInt32|Int32}}
17+
// CHECK-NEXT: typealias RawValue = {{UInt32|Int32}}
1818
// CHECK-NEXT: }
1919
// CHECK-NEXT: struct Struct {
2020
// CHECK-NEXT: init()

0 commit comments

Comments
 (0)