You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// CHECK-LABEL: sil shared @$S30specialize_checked_cast_branch011ArchetypeToE4Cast2t12t2q_x_q_tr0_lFAA8NotUInt8V_AA1CCTg5 : $@convention(thin) (NotUInt8, @guaranteed C) -> @owned C {
58
59
// CHECK: bb0
59
60
// CHECK-NOT: bb1
61
+
// CHECK: builtin "int_trap"
60
62
// CHECK: unreachable
61
63
// CHECK: } // end sil function '$S30specialize_checked_cast_branch011ArchetypeToE4Cast2t12t2q_x_q_tr0_lFAA8NotUInt8V_AA1CCTg5'
62
64
_ =ArchetypeToArchetypeCast(t1: b, t2: c)
@@ -65,6 +67,7 @@ _ = ArchetypeToArchetypeCast(t1: b, t2: c)
// CHECK: } // end sil function '$S30specialize_checked_cast_branch24ArchetypeToConcreteCastD1tAA1DCx_tlFAA1CC_Tg5'
181
188
_ =ArchetypeToConcreteCastD(t: c)
182
189
183
190
// C -> E
184
191
// CHECK-LABEL: sil shared @$S30specialize_checked_cast_branch24ArchetypeToConcreteCastE1tAA1ECx_tlFAA1CC_Tg5 : $@convention(thin) (@guaranteed C) -> @owned E {
0 commit comments