Skip to content

Commit 4fb68fb

Browse files
committed
Fix bad regex in a test
(cherry picked from commit a140364)
1 parent 3c21b55 commit 4fb68fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/global_actor_function_types.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ func globalActorMetatype<T>(_: T.Type) -> Any.Type {
99
return Fn.self
1010
}
1111

12-
// CHECK-LABEL: define {{protected |}}swiftcc %swift.type* @"$s4test19globalActorMetatypeyypXpxmlF"
12+
// CHECK-LABEL: define{{( dllexport)?}}{{( protected)?}} swiftcc %swift.type* @"$s4test19globalActorMetatypeyypXpxmlF"
1313
// CHECK: [[MAIN_ACTOR_RESPONSE:%[0-9]+]] = call swiftcc %swift.metadata_response @"$sScMMa"(i{{32|64}} 255)
1414
// CHECK-NEXT: [[MAIN_ACTOR_METADATA:%[0-9]+]] = extractvalue %swift.metadata_response [[MAIN_ACTOR_RESPONSE]], 0
1515
// CHECK: call %swift.type* @swift_getFunctionTypeMetadataGlobalActor(i{{32|64}} 335544320, i{{32|64}} 0, %swift.type** null, i32* null, %swift.type* %T, %swift.type* [[MAIN_ACTOR_METADATA]])

0 commit comments

Comments
 (0)