Skip to content

Commit 2422c0c

Browse files
committed
Keep the XFAIL on windows for now
1 parent 597668f commit 2422c0c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/Interop/Cxx/operators/member-inline-irgen.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-experimental-cxx-interop | %FileCheck %s
22
//
3-
// We can't yet call member functions correctly on Windows (SR-13129).
3+
// We should be able to support windows now. We will remove XFAIL in follow up
4+
// XFAIL: windows
45

56
import MemberInline
67

78
public func sub(_ lhs: inout LoadableIntWrapper, _ rhs: LoadableIntWrapper) -> LoadableIntWrapper { lhs - rhs }
89

9-
// CHECK: call [[RESA:i32|i64]] [[NAMEA:@(_ZN18LoadableIntWrappermiES_|"\?\?__Ec@@YAXXZ")]](%struct.LoadableIntWrapper* {{%[0-9]+}}, {{i32|\[1 x i32\]|i64|%struct.LoadableIntWrapper\* byval\(.*\) align 4}} {{%[0-9]+}})
10+
// CHECK: call [[RESA:i32|i64]] [[NAMEA:@(_ZN18LoadableIntWrappermiES_|"\?\?GLoadableIntWrapper@@QEAA\?AU0@U0@@Z")]](%struct.LoadableIntWrapper* {{%[0-9]+}}, {{i32|\[1 x i32\]|i64|%struct.LoadableIntWrapper\* byval\(.*\) align 4}} {{%[0-9]+}})
1011

1112
public func call(_ wrapper: inout LoadableIntWrapper, _ arg: Int32) -> Int32 { wrapper(arg) }
1213

test/Interop/Cxx/operators/member-out-of-line-irgen.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-experimental-cxx-interop | %FileCheck %s
22
//
3-
// We can't yet call member functions correctly on Windows (SR-13129).
3+
// We should be able to support windows now. We will remove XFAIL in follow up
4+
// XFAIL: windows
45

56
import MemberOutOfLine
67

0 commit comments

Comments
 (0)