Skip to content

Commit b62adb9

Browse files
committed
Adopt test case to 4.1 mangling
1 parent 22cb5bc commit b62adb9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/IRGen/type_layout_reference_storage.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,11 @@ struct ReferenceStorageTypeLayout<T, Native : C, Unknown : AnyObject> {
9696
public class Base {
9797
var a: UInt32 = 0
9898
}
99-
// CHECK-LABEL: %swift.type* @{{.*}}7DerivedCMi"(%swift.type_descriptor*, i8**)
100-
// CHECK-NOT: store {{.*}}getelementptr{{.*}}SBomWV
101-
// CHECK: call %swift.type* @"$S29type_layout_reference_storage1P_pXmTMa"()
102-
// CHECK: store {{.*}}getelementptr{{.*}}SBoWV
99+
100+
// CHECK-LABEL: %swift.type* @create_generic_metadata_Derived(%swift.type_pattern*, i8**)
101+
// CHECK-NOT: store {{.*}}getelementptr{{.*}}T0BomWV
102+
// CHECK: call %swift.type* @{{.*}}type_layout_reference_storage1P_pXmTMa()
103+
// CHECK: store {{.*}}getelementptr{{.*}}T0BoWV
103104
// CHECK: ret
104105
public class Derived<T> : Base {
105106
var type : P.Type

0 commit comments

Comments
 (0)