Skip to content

Commit 0b1dce7

Browse files
committed
Make test IRGen/objc_object_getClass.swift resilient to order
rdar://98722116
1 parent b51e9df commit 0b1dce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/IRGen/objc_object_getClass.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ func test(_ o: ObjCSubclass) {
1818
o.field = 10
1919
}
2020

21-
// CHECK: declare i8* @object_getClass(i8*)
22-
// CHECK: call %objc_class* bitcast (i8* (i8*)* @object_getClass to %objc_class* (%objc_object*)*)(%objc_object* %{{.*}})
21+
// CHECK-DAG: declare i8* @object_getClass(i8*)
22+
// CHECK-DAG: call %objc_class* bitcast (i8* (i8*)* @object_getClass to %objc_class* (%objc_object*)*)(%objc_object* %{{.*}})

0 commit comments

Comments
 (0)