File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
test/Interop/Cxx/class/move-only Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-run-simple-swift(-I %S/Inputs/ -cxx-interoperability-mode=upcoming-swift)
2
- // RUN: %target-run-simple-swift(-I %S/Inputs/ -cxx-interoperability-mode=upcoming-swift -D HAS_NONCOPYABLE_GENERICS)
3
2
// RUN: %target-run-simple-swift(-I %S/Inputs/ -cxx-interoperability-mode=swift-5.9 -O)
4
3
// RUN: %target-run-simple-swift(-I %S/Inputs/ -cxx-interoperability-mode=swift-6 -O)
5
- // RUN: %target-run-simple-swift(-I %S/Inputs/ -cxx-interoperability-mode=swift-6 -O -D HAS_NONCOPYABLE_GENERICS)
6
4
7
5
// REQUIRES: executable_test
8
6
@@ -29,12 +27,10 @@ MoveOnlyCxxValueType.test("Test derived move only type member access") {
29
27
var k = c. method ( - 3 )
30
28
expectEqual ( k, - 6 )
31
29
expectEqual ( c. method ( 1 ) , 2 )
32
- #if HAS_NONCOPYABLE_GENERICS
33
30
k = c. x
34
31
expectEqual ( k, 2 )
35
32
c. x = 11
36
33
expectEqual ( c. x, 11 )
37
- #endif
38
34
k = c. mutMethod ( - 13 )
39
35
expectEqual ( k, - 13 )
40
36
}
@@ -60,7 +56,6 @@ MoveOnlyCxxValueType.test("Test move only field access in holder") {
60
56
expectEqual ( c. x. x, 5 )
61
57
}
62
58
63
- #if HAS_NONCOPYABLE_GENERICS
64
59
MoveOnlyCxxValueType . test ( " Test move only field access in derived holder " ) {
65
60
var c = NonCopyableHolderDerivedDerived ( - 11 )
66
61
var k = borrowNC ( c. x)
@@ -74,6 +69,5 @@ MoveOnlyCxxValueType.test("Test move only field access in derived holder") {
74
69
c. x. mutMethod ( 5 )
75
70
expectEqual ( c. x. x, 5 )
76
71
}
77
- #endif
78
72
79
73
runAllTests ( )
You can’t perform that action at this time.
0 commit comments