Skip to content

Commit 2a26f0c

Browse files
committed
Add a missing CHECK line to OSLogFullOptTest.swift
This test was sensitive to arbitrary block ID's because it was missing the CHECK line that sets a regex used by subsequent checks. This is also an example of why it helps to use CHECK-LABEL at the end of a function scope too.
1 parent 31881ae commit 2a26f0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/SILOptimizer/OSLogFullOptTest.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ func testMetatypeInterpolation<T>(of type: T.Type) {
349349

350350
// CHECK: [[NOT_ENABLED]]:
351351
// CHECK-NEXT: call void @swift_release
352+
// CHECK: br label %[[EXIT:[0-9]+]]
352353

353354
// CHECK: [[ENABLED]]:
354355
//

0 commit comments

Comments
 (0)