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.
This commit is contained in:
Andrew Trick
2021-01-17 22:58:54 -08:00
parent 31881ae4a6
commit 2a26f0ca44

View File

@@ -349,6 +349,7 @@ func testMetatypeInterpolation<T>(of type: T.Type) {
// CHECK: [[NOT_ENABLED]]:
// CHECK-NEXT: call void @swift_release
// CHECK: br label %[[EXIT:[0-9]+]]
// CHECK: [[ENABLED]]:
//