Skip to content

Commit 8ad3988

Browse files
committed
Ignore output data that's not relevant for this test.
The previous code expects output like this: ``` define hidden swiftcc i8* @"$s6SR82094test10ObjectiveC8SelectorVyF"() #0 { ``` But in certain build modes, we get extra debug information that looks like this: ``` define hidden swiftcc i8* @"$s6SR82094test10ObjectiveC8SelectorVyF"() #0 !dbg !47 { ``` I stumbled over this while running tests with a variety of different options.
1 parent 7fa0af7 commit 8ad3988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/Sema/sr8209.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
// CHECK-LABEL: define {{.+}} @"$s6SR82094test10ObjectiveC8SelectorVyF"() {{#[0-9]+}} {
10+
// CHECK-LABEL: define {{.+}} @"$s6SR82094test10ObjectiveC8SelectorVyF"() {{#[0-9]+}}
1111
func test() -> Selector {
1212
// CHECK: = load {{.+}} @"\01L_selector(isAsynchronous)"
1313
return #selector(getter: AsyncValueBlockOperation.isAsynchronous)

0 commit comments

Comments
 (0)