Skip to content

Commit 7ed7122

Browse files
committed
test fixes
1 parent 340b85f commit 7ed7122

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

validation-test/Reflection/reflect_Optional.swift renamed to validation-test/Reflection/reflect_Optional_Any.swift

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ reflect(enum: optionalAnyNonNil)
2727
// CHECK-64: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
2828
// CHECK-64: Type reference:
2929
// CHECK-64: (bound_generic_enum Swift.Optional
30-
// CHECK-64: (protocol_composition))
30+
// CHECK-64: (protocol_composition))
3131

3232
// CHECK-64: Type info:
3333
// CHECK-64: (single_payload_enum size=32 alignment=8 stride=32 num_extra_inhabitants=2147483646 bitwise_takable=1
@@ -45,10 +45,11 @@ reflect(enum: optionalAnyNonNil)
4545
// CHECK-64: (protocol_composition)
4646
// CHECK-64: )
4747

48-
// CHECK-32: Reflecting an object.
48+
// CHECK-32: Reflecting an enum.
4949
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
5050
// CHECK-32: Type reference:
51-
// CHECK-32: (class reflect_Enum_SingleCaseIntPayload.ClassWithSingleCaseIntPayloadEnum)
51+
// CHECK-32: (bound_generic_enum Swift.Optional
52+
// CHECK-32: (protocol_composition))
5253

5354
// CHECK-32: Type info:
5455
// CHECK-32: (single_payload_enum size=16 alignment=8 stride=16 num_extra_inhabitants=4094 bitwise_takable=1
@@ -92,10 +93,11 @@ reflect(enum: optionalAnyNil)
9293
// CHECK-64: (enum_value name=none index=1)
9394

9495

95-
// CHECK-32: Reflecting an object.
96+
// CHECK-32: Reflecting an enum.
9697
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
9798
// CHECK-32: Type reference:
98-
// CHECK-32: (class reflect_Enum_SingleCaseIntPayload.ClassWithSingleCaseIntPayloadEnum)
99+
// CHECK-32: (bound_generic_enum Swift.Optional
100+
// CHECK-32: (protocol_composition))
99101

100102
// CHECK-32: Type info:
101103
// CHECK-32: (single_payload_enum size=16 alignment=8 stride=16 num_extra_inhabitants=4094 bitwise_takable=1
@@ -140,7 +142,7 @@ reflect(enum: optionalOptionalAnyNil)
140142
// CHECK-64: Enum value:
141143
// CHECK-64: (enum_value name=none index=1)
142144

143-
// CHECK-32: Reflecting an object.
145+
// CHECK-32: Reflecting an enum.
144146
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
145147
// CHECK-32: Type reference:
146148
// CHECK-32: (bound_generic_enum Swift.Optional
@@ -196,7 +198,7 @@ reflect(enum: optionalOptionalAnySomeNil)
196198
// CHECK-64: (protocol_composition))
197199
// CHECK-64: )
198200

199-
// CHECK-32: Reflecting an object.
201+
// CHECK-32: Reflecting an enum.
200202
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
201203
// CHECK-32: Type reference:
202204
// CHECK-32: (bound_generic_enum Swift.Optional
@@ -255,7 +257,7 @@ reflect(enum: optionalOptionalAnyNonNil)
255257
// CHECK-64: (protocol_composition))
256258
// CHECK-64: )
257259

258-
// CHECK-32: Reflecting an object.
260+
// CHECK-32: Reflecting an enum.
259261
// CHECK-32: Instance pointer in child address space: 0x{{[0-9a-fA-F]+}}
260262
// CHECK-32: Type reference:
261263
// CHECK-32: (bound_generic_enum Swift.Optional

0 commit comments

Comments
 (0)