Skip to content

Commit 5f8c139

Browse files
authored
Merge pull request #17107 from aschwaighofer/fix_TestABIInaccessible_2nd_try
2 parents d409144 + 5927df8 commit 5f8c139

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IRGen/TestABIInaccessible.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ public struct AnotherType<T> {
1010
// Don't pass the metadata of Private<T> to AnotherType<T>'s outlined destroy.
1111
// CHECK-LABEL: define{{( dllexport)?}}{{( protected)?}} swiftcc void @"$S4main4copyyAA11AnotherTypeVyxGAElF"(%T4main11AnotherTypeV* noalias nocapture sret, %T4main11AnotherTypeV* noalias nocapture, %swift.type* %T)
1212
// CHECK: [[MD:%.*]] = call swiftcc %swift.metadata_response @"$S4main11AnotherTypeVMa"(i{{.*}} 0, %swift.type* %T)
13-
// CHECK: [[MD1:%.*]] = extractvalue %swift.metadata_response %3, 0
13+
// CHECK: [[MD1:%.*]] = extractvalue %swift.metadata_response [[MD]], 0
1414
// CHECK: [[MD2:%.*]] = call swiftcc %swift.metadata_response @"$S4main6PublicVMa"(i{{.*}} 0, %swift.type* %T)
15-
// CHECK: [[MD3:%.*]] = extractvalue %swift.metadata_response %10, 0
15+
// CHECK: [[MD3:%.*]] = extractvalue %swift.metadata_response [[MD2]], 0
1616
// CHECK: call %T4main11AnotherTypeV* @"$S4main11AnotherTypeVyxGlWOc"(%T4main11AnotherTypeV* %1, %T4main11AnotherTypeV* {{.*}}, %swift.type* %T, %swift.type* [[MD3]], %swift.type* [[MD1]])
1717
public func copy<T>(_ a: AnotherType<T>) -> AnotherType<T> {
1818
let copy = a

0 commit comments

Comments
 (0)