Skip to content

Commit 923d6ed

Browse files
authored
Merge pull request swiftlang#33827 from 3405691582/LocalExternTestDsoLocal
[test][IRGen] Maybe Windows needs dso_local.
2 parents cc511c2 + 93d4854 commit 923d6ed

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

test/IRGen/local_extern.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// XFAIL: OS=windows-msvc
21
// RUN: %target-swift-frontend -import-objc-header %S/Inputs/local_extern.h %s -emit-ir | %FileCheck %s
32
// CHECK: @var = external {{(dso_local )?}}global i32
43
// CHECK: @prior_var = internal global i32
5-
// CHECK: declare i32 @func
4+
// CHECK: declare {{(dso_local )?}}i32 @func
65
// CHECK: define internal i32 @prior_func
76

87
print("\(_no_prior_var())")

test/IRGen/local_extern_windows.swift

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)