Skip to content

Commit c6ee1b3

Browse files
authored
Merge pull request swiftlang#22299 from compnerd/the-weakness-seeping-into-me
test: disable weak_import tests on Windows
2 parents 8136393 + 7680378 commit c6ee1b3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/IRGen/weak_import_native.sil

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-swift-frontend -primary-file %s -emit-ir | %FileCheck %s
33

4+
// UNSUPPORTED: OS=windows-msvc
5+
46
sil_stage canonical
57

68
// CHECK-DAG: define{{( protected)?}} swiftcc void @weakButDefined() {{#[0-9]+}} {

test/IRGen/weak_import_native.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
//
44
// RUN: %target-swift-frontend -primary-file %s -I %t -emit-ir | %FileCheck %s
55

6+
// UNSUPPORTED: OS=windows-msvc
7+
68
import weak_import_native_helper
79

810
// CHECK-DAG-LABEL: @"$s25weak_import_native_helper23ProtocolWithWeakMembersP1TAC_AA05OtherE0Tn" = extern_weak global %swift.protocol_requirement

0 commit comments

Comments
 (0)