File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
test/Interop/Cxx/stdlib/overlay Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
module ConvertibleToBool {
2
2
header "convertible-to-bool.h"
3
3
requires cplusplus
4
+ export *
5
+ }
6
+
7
+ module CustomIterator {
8
+ header "custom-iterator.h"
9
+ requires cplusplus
10
+ export *
4
11
}
5
12
6
13
module CustomSequence {
7
- header "custom-iterator.h" // TODO: extract into another module
8
14
header "custom-sequence.h"
9
15
header "custom-collection.h"
10
16
requires cplusplus
17
+ export *
11
18
}
Original file line number Diff line number Diff line change 1
- // RUN: %target-swift-ide-test -print-module -module-to-print=CustomSequence -source-filename=x -I %S/Inputs -enable-experimental-cxx-interop | %FileCheck %s
2
- // RUN: %target-swift-ide-test -print-module -module-to-print=CustomSequence -source-filename=x -I %S/Inputs -cxx-interoperability-mode=upcoming-swift | %FileCheck %s
1
+ // RUN: %target-swift-ide-test -print-module -module-to-print=CustomIterator -source-filename=x -I %S/Inputs -enable-experimental-cxx-interop | %FileCheck %s
2
+ // RUN: %target-swift-ide-test -print-module -module-to-print=CustomIterator -source-filename=x -I %S/Inputs -cxx-interoperability-mode=upcoming-swift | %FileCheck %s
3
3
4
4
// CHECK: struct ConstIterator : UnsafeCxxInputIterator {
5
5
// CHECK: func successor() -> ConstIterator
You can’t perform that action at this time.
0 commit comments