Skip to content

Commit 130f30c

Browse files
committed
Remove a stray // user: from a FileCheck line to make test more robust.
1 parent 20e27f2 commit 130f30c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/SILOptimizer/super_method.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,12 @@ class GenericGrandchild<A> : GenericChild<A> {
7171
}
7272

7373
class ConcreteChild : GenericParent<String> {
74-
// CHECK-LABEL: sil hidden @$s12super_method13ConcreteChildC1aACSS_tcfc : $@convention(method) (@owned String, @owned ConcreteChild) -> @owned ConcreteChild
74+
// CHECK-LABEL: sil hidden @$s12super_method13ConcreteChildC1aACSS_tcfc : $@convention(method) (@owned String, @owned ConcreteChild) -> @owned ConcreteChild {
7575
override init(a: String) {
7676
// CHECK-NOT: super_method {{%[0-9]+}} : $ConcreteChild, #GenericParent.init!initializer.1
77-
// CHECK: [[INIT_FN_REF:%[0-9]+]] = function_ref @$s12super_method13GenericParentC1aACyxGx_tcfc : $@convention(method) <τ_0_0> (@in τ_0_0, @owned GenericParent<τ_0_0>) -> @owned GenericParent<τ_0_0>{{.*}} // user: %10
77+
// CHECK: [[INIT_FN_REF:%[0-9]+]] = function_ref @$s12super_method13GenericParentC1aACyxGx_tcfc : $@convention(method) <τ_0_0> (@in τ_0_0, @owned GenericParent<τ_0_0>) -> @owned GenericParent<τ_0_0>{{.*}}
7878
// CHECK: apply [[INIT_FN_REF]]
79+
// CHECK: } // end sil function '$s12super_method13ConcreteChildC1aACSS_tcfc'
7980
super.init(a: a)
8081
}
8182
}

0 commit comments

Comments
 (0)