|
1 |
| -// RUN: %target-swift-ide-test -print-module -module-to-print=CustomSequence -source-filename=x -I %S/Inputs -enable-experimental-cxx-interop -module-cache-path %t | %FileCheck %s |
| 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 | 2 |
|
3 | 3 | // CHECK: struct ConstIterator : UnsafeCxxInputIterator {
|
4 | 4 | // CHECK: var pointee: Int32 { get }
|
5 | 5 | // CHECK: func successor() -> ConstIterator
|
6 |
| -// CHECK: static func == (lhs: ConstIterator, other: ConstIterator) -> Bool |
7 | 6 | // CHECK: typealias Pointee = Int32
|
| 7 | +// CHECK: static func == (lhs: ConstIterator, other: ConstIterator) -> Bool |
8 | 8 | // CHECK: }
|
9 | 9 |
|
10 | 10 | // CHECK: struct ConstRACIterator : UnsafeCxxRandomAccessIterator, UnsafeCxxInputIterator {
|
11 | 11 | // CHECK: var pointee: Int32 { get }
|
12 | 12 | // CHECK: func successor() -> ConstRACIterator
|
| 13 | +// CHECK: typealias Pointee = Int32 |
| 14 | +// CHECK: typealias Distance = Int32 |
13 | 15 | // CHECK: static func += (lhs: inout ConstRACIterator, v: ConstRACIterator.difference_type)
|
14 | 16 | // CHECK: static func - (lhs: ConstRACIterator, other: ConstRACIterator) -> Int32
|
15 | 17 | // CHECK: static func == (lhs: ConstRACIterator, other: ConstRACIterator) -> Bool
|
16 |
| -// CHECK: typealias Pointee = Int32 |
17 |
| -// CHECK: typealias Distance = Int32 |
18 | 18 | // CHECK: }
|
19 | 19 |
|
20 | 20 | // CHECK: struct ConstRACIteratorRefPlusEq : UnsafeCxxRandomAccessIterator, UnsafeCxxInputIterator {
|
21 | 21 | // CHECK: var pointee: Int32 { get }
|
22 | 22 | // CHECK: func successor() -> ConstRACIterator
|
| 23 | +// CHECK: typealias Pointee = Int32 |
| 24 | +// CHECK: typealias Distance = Int32 |
23 | 25 | // CHECK: static func += (lhs: inout ConstRACIteratorRefPlusEq, v: ConstRACIteratorRefPlusEq.difference_type)
|
24 | 26 | // CHECK: static func - (lhs: ConstRACIteratorRefPlusEq, other: ConstRACIteratorRefPlusEq) -> Int32
|
25 | 27 | // CHECK: static func == (lhs: ConstRACIteratorRefPlusEq, other: ConstRACIteratorRefPlusEq) -> Bool
|
26 |
| -// CHECK: typealias Pointee = Int32 |
27 |
| -// CHECK: typealias Distance = Int32 |
28 | 28 | // CHECK: }
|
29 | 29 |
|
30 | 30 | // CHECK: struct ConstIteratorOutOfLineEq : UnsafeCxxInputIterator {
|
|
36 | 36 | // CHECK: struct MinimalIterator : UnsafeCxxInputIterator {
|
37 | 37 | // CHECK: var pointee: Int32 { get }
|
38 | 38 | // CHECK: func successor() -> MinimalIterator
|
39 |
| -// CHECK: static func == (lhs: MinimalIterator, other: MinimalIterator) -> Bool |
40 | 39 | // CHECK: typealias Pointee = Int32
|
| 40 | +// CHECK: static func == (lhs: MinimalIterator, other: MinimalIterator) -> Bool |
41 | 41 | // CHECK: }
|
42 | 42 |
|
43 | 43 | // CHECK: struct ForwardIterator : UnsafeCxxInputIterator {
|
44 | 44 | // CHECK: var pointee: Int32 { get }
|
45 | 45 | // CHECK: func successor() -> ForwardIterator
|
46 |
| -// CHECK: static func == (lhs: ForwardIterator, other: ForwardIterator) -> Bool |
47 | 46 | // CHECK: typealias Pointee = Int32
|
| 47 | +// CHECK: static func == (lhs: ForwardIterator, other: ForwardIterator) -> Bool |
48 | 48 | // CHECK: }
|
49 | 49 |
|
50 | 50 | // CHECK: struct HasCustomIteratorTag : UnsafeCxxInputIterator {
|
51 | 51 | // CHECK: var pointee: Int32 { get }
|
52 | 52 | // CHECK: func successor() -> HasCustomIteratorTag
|
53 |
| -// CHECK: static func == (lhs: HasCustomIteratorTag, other: HasCustomIteratorTag) -> Bool |
54 | 53 | // CHECK: typealias Pointee = Int32
|
| 54 | +// CHECK: static func == (lhs: HasCustomIteratorTag, other: HasCustomIteratorTag) -> Bool |
55 | 55 | // CHECK: }
|
56 | 56 |
|
57 | 57 | // CHECK: struct HasCustomRACIteratorTag : UnsafeCxxRandomAccessIterator, UnsafeCxxInputIterator {
|
58 | 58 | // CHECK: var pointee: Int32 { get }
|
59 | 59 | // CHECK: func successor() -> HasCustomRACIteratorTag
|
| 60 | +// CHECK: typealias Pointee = Int32 |
| 61 | +// CHECK: typealias Distance = Int32 |
60 | 62 | // CHECK: static func += (lhs: inout HasCustomRACIteratorTag, x: Int32)
|
61 | 63 | // CHECK: static func - (lhs: HasCustomRACIteratorTag, x: HasCustomRACIteratorTag) -> Int32
|
62 | 64 | // CHECK: static func == (lhs: HasCustomRACIteratorTag, other: HasCustomRACIteratorTag) -> Bool
|
63 |
| -// CHECK: typealias Pointee = Int32 |
64 |
| -// CHECK: typealias Distance = Int32 |
65 | 65 | // CHECK: }
|
66 | 66 |
|
67 | 67 | // CHECK: struct HasCustomIteratorTagInline : UnsafeCxxInputIterator {
|
68 | 68 | // CHECK: var pointee: Int32 { get }
|
69 | 69 | // CHECK: func successor() -> HasCustomIteratorTagInline
|
70 |
| -// CHECK: static func == (lhs: HasCustomIteratorTagInline, other: HasCustomIteratorTagInline) -> Bool |
71 | 70 | // CHECK: typealias Pointee = Int32
|
| 71 | +// CHECK: static func == (lhs: HasCustomIteratorTagInline, other: HasCustomIteratorTagInline) -> Bool |
72 | 72 | // CHECK: }
|
73 | 73 |
|
74 | 74 | // CHECK: struct HasTypedefIteratorTag : UnsafeCxxInputIterator {
|
75 | 75 | // CHECK: var pointee: Int32 { get }
|
76 | 76 | // CHECK: func successor() -> HasTypedefIteratorTag
|
77 |
| -// CHECK: static func == (lhs: HasTypedefIteratorTag, other: HasTypedefIteratorTag) -> Bool |
78 | 77 | // CHECK: typealias Pointee = Int32
|
| 78 | +// CHECK: static func == (lhs: HasTypedefIteratorTag, other: HasTypedefIteratorTag) -> Bool |
79 | 79 | // CHECK: }
|
80 | 80 |
|
81 | 81 | // CHECK-NOT: struct HasNoIteratorCategory : UnsafeCxxInputIterator
|
|
0 commit comments