File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
test/Interop/Cxx/class/inheritance Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1- // RUN: %target-swift-emit-ir -I %S/Inputs -cxx-interoperability-mode=upcoming-swift %s -validate-tbd-against-ir=none | %FileCheck %s
2-
3- // FIXME: enable on Windows
4- // XFAIL: OS=windows-msvc
1+ // RUN: %target-swift-emit-ir -I %S/Inputs -cxx-interoperability-mode=upcoming-swift %s -validate-tbd-against-ir=none -Xcc -fignore-exceptions | %FileCheck %s
52
63import VirtualMethods
74
@@ -18,18 +15,18 @@ d2.f()
1815d3. f ( )
1916d4. f ( )
2017
21- // CHECK: invoke {{.*}} @_ZN5Base31fEv
22- // CHECK: invoke {{.*}} @_ZN8Derived21fEv
23- // CHECK: invoke {{.*}} @_ZN8Derived31fEv
18+ // CHECK: call {{.*}} @{{ _ZN5Base31fEv|"\?f@Base3@@UEAAHXZ"}}
19+ // CHECK: call {{.*}} @{{ _ZN8Derived21fEv|"\?f@Derived2@@UEAAHXZ"}}
20+ // CHECK: call {{.*}} @{{ _ZN8Derived31fEv|"\?f@Derived3@@UEAAHXZ"}}
2421// CHECK: call swiftcc {{.*}} @"$sSo8Derived4V1fs5Int32VyF"
2522
2623// CHECK: define {{.*}} @"$sSo8Derived4V1fs5Int32VyF"(ptr swiftself dereferenceable
27- // CHECK: invoke {{.*}} @_ZN8Derived423__synthesizedBaseCall_fEv
24+ // CHECK: call {{.*}} @{{ _ZN8Derived423__synthesizedBaseCall_fEv|"\?__synthesizedBaseCall_f@Derived4@@QEAAHXZ"}}
2825
29- // CHECK: define {{.*}}void @{{_ZN7DerivedIiE3fooEv|"\?foo@\?$Derived@H@@UEAAXXZ"}}
26+ // CHECK: define {{.*}}void @{{_ZN7DerivedIiE3fooEv|"\?foo@\?\ $Derived@H@@UEAAXXZ"}}
3027// CHECK: call void @{{_Z21testFunctionCollectedv|"\?testFunctionCollected@@YAXXZ"}}
3128
3229// CHECK: define {{.*}}void @{{_Z21testFunctionCollectedv|"\?testFunctionCollected@@YAXXZ"}}
3330
3431// CHECK-NOT: _ZN6UnusedIiE3fooEv
35- // CHECK-NOT: "\?foo@\?$Unused@H@@UEAAXXZ"
32+ // CHECK-NOT: "\?foo@\?\ $Unused@H@@UEAAXXZ"
You can’t perform that action at this time.
0 commit comments