Skip to content

Commit adab576

Browse files
[test][IRGen] Fix has_symbol_clang.swift for thunks with comdat
1 parent 2145e30 commit adab576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/has_symbol_clang.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ public func testClangDecls() {
1111
}
1212

1313
// --- clangFunc(_:) ---
14-
// CHECK: define linkonce_odr hidden i1 @"$sSo9clangFuncyys5Int32VFTwS"() #1 {
14+
// CHECK: define linkonce_odr hidden i1 @"$sSo9clangFuncyys5Int32VFTwS"() #1{{( comdat)?}} {
1515
// CHECK: ret i1 icmp ne (ptr @clangFunc, ptr null)

0 commit comments

Comments
 (0)