Skip to content

Commit aa6df79

Browse files
committed
Test: allow for associated conformances
With NoncopyableGenerics, most protocols now carry an associated conformance. There's no need to have FileCheck try to assure there isn't any for this test.
1 parent 75bff92 commit aa6df79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/SILOptimizer/inline_generics.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ sil_vtable MyNumber {}
149149
// CHECK-LABEL: sil @test_inlining : $@convention(objc_method) (@owned MyNumber) -> () {
150150
// CHECK-NOT: Generic specialization information for call-site dootherstuff <MyNumber & SomeProto> conformances <(abstract_conformance protocol="OtherProto")>
151151
// CHECK: Generic specialization information
152-
// CHECK: (normal_conformance type="MyObject" protocol="OtherProto")
152+
// CHECK: (normal_conformance type="MyObject" protocol="OtherProto"
153153
// CHECK: end sil function 'test_inlining'
154154

155155
sil @test_inlining : $@convention(objc_method) (@owned MyNumber) -> () {

test/SILOptimizer/sil_combine_concrete_existential.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ sil @callee2 : $@convention(thin) <τ_0_0 where τ_0_0 : SubscriptionViewControl
671671
// CHECK: [[T6:%.*]] = alloc_stack $@opened("E4D92D2A-8893-11EA-9C89-ACDE48001122", any ResourceKitProtocol) Self
672672
// CHECK: copy_addr [[T4]] to [init] [[T6]] : $*@opened("E4D92D2A-8893-11EA-9C89-ACDE48001122", any ResourceKitProtocol) Self
673673
// CHECK: Generic specialization information for call-site callee2 <any ResourceKitProtocol> conformances <(inherited_conformance type="any ResourceKitProtocol" protocol="SubscriptionViewControllerDelegate"
674-
// CHECK: (normal_conformance type="MyObject" protocol="SubscriptionViewControllerDelegate"))>:
674+
// CHECK: (normal_conformance type="MyObject" protocol="SubscriptionViewControllerDelegate"
675675
// CHECK: apply [[T5]]<@opened("E4D92D2A-8893-11EA-9C89-ACDE48001122", any ResourceKitProtocol) Self>([[T6]], [[T1]])
676676

677677
sil @test_opend_archetype_concrete_conformance_substitution : $@convention(method) (@guaranteed ResourceKitProtocol, @guaranteed ViewController) -> () {

0 commit comments

Comments
 (0)