Skip to content

Commit df70cb8

Browse files
committed
Fixup Tests
1 parent 4482704 commit df70cb8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/Interop/Cxx/templates/class-template-instantiation.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ TemplatesTestSuite.test("with-swift-type") {
1818
expectEqual(wrappedMagicNumber.getValuePlusArg(8), 21)
1919
}
2020

21-
TemplatesTestSuite.test("with-c++-type-calling-method-on-arg") {
21+
TemplatesTestSuite.test("with-c++-type-calling-method-on-arg")
22+
.skip(.watchOSSimulatorAny("rdar://problem/87262809")).code {
2223
let i1 = IntWrapper(value: 42)
2324
let i2 = IntWrapper(value: 12)
2425
var wrappedMagicNumber = MagicWrapper<IntWrapper>(t: i1)

test/Interop/Cxx/templates/class-template-uninstantiatable-members-irgen.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ClassTemplateInstantiationErrors
44

55
// CHECK-LABEL: define {{.*}}void @"$s4main23instantiateValidMembersyyF"()
66
// CHECK: call i32 @{{_ZN21CannotBeInstantiantedI10IntWrapperE8incValueEv|"\?incValue@\?\$CannotBeInstantianted@UIntWrapper@@@@QEAAHXZ"}}(%struct.CannotBeInstantianted*
7-
// CHECK: call i32 @{{_ZN21CannotBeInstantiantedI10IntWrapperE8incValueES0_|"\?incValue@\?\$CannotBeInstantianted@UIntWrapper@@@@QEAAHUIntWrapper@@@Z"}}(%struct.CannotBeInstantianted* {{.*}}, {{i32|i64|\[1 x i32\]|\%struct\.IntWrapper\* byval\(\%struct\.IntWrapper\)}}
7+
// CHECK: call i32 @{{_ZN21CannotBeInstantiantedI10IntWrapperE8incValueES0_|"\?incValue@\?\$CannotBeInstantianted@UIntWrapper@@@@QEAAHUIntWrapper@@@Z"}}(%struct.CannotBeInstantianted*
88
// CHECK: ret void
99

1010
// CHECK-LABEL: define {{.*}}i32 @{{_ZN21CannotBeInstantiantedI10IntWrapperE8incValueEv|"\?incValue@\?\$CannotBeInstantianted@UIntWrapper@@@@QEAAHXZ"}}(%struct.CannotBeInstantianted*

0 commit comments

Comments
 (0)