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
5
2
6
3
import VirtualMethods
7
4
@@ -18,18 +15,18 @@ d2.f()
18
15
d3. f ( )
19
16
d4. f ( )
20
17
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"}}
24
21
// CHECK: call swiftcc {{.*}} @"$sSo8Derived4V1fs5Int32VyF"
25
22
26
23
// CHECK: define {{.*}} @"$sSo8Derived4V1fs5Int32VyF"(ptr swiftself dereferenceable
27
- // CHECK: invoke {{.*}} @_ZN8Derived423__synthesizedBaseCall_fEv
24
+ // CHECK: call {{.*}} @{{ _ZN8Derived423__synthesizedBaseCall_fEv|"\?__synthesizedBaseCall_f@Derived4@@QEAAHXZ"}}
28
25
29
- // CHECK: define {{.*}}void @{{_ZN7DerivedIiE3fooEv|"\?foo@\?$Derived@H@@UEAAXXZ"}}
26
+ // CHECK: define {{.*}}void @{{_ZN7DerivedIiE3fooEv|"\?foo@\?\ $Derived@H@@UEAAXXZ"}}
30
27
// CHECK: call void @{{_Z21testFunctionCollectedv|"\?testFunctionCollected@@YAXXZ"}}
31
28
32
29
// CHECK: define {{.*}}void @{{_Z21testFunctionCollectedv|"\?testFunctionCollected@@YAXXZ"}}
33
30
34
31
// 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