// 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 // RUN: %target-swift-ide-test -print-module -module-to-print=CustomSequence -source-filename=x -I %S/Inputs -cxx-interoperability-mode=swift-6 -module-cache-path %t | %FileCheck %s // RUN: %target-swift-ide-test -print-module -module-to-print=CustomSequence -source-filename=x -I %S/Inputs -cxx-interoperability-mode=upcoming-swift -module-cache-path %t | %FileCheck %s // CHECK: struct SimpleArrayWrapper : CxxRandomAccessCollection { // CHECK: typealias Element = UnsafePointer.Pointee // CHECK: typealias Iterator = CxxIterator // CHECK: typealias RawIterator = UnsafePointer // CHECK: } // CHECK: struct SimpleCollectionNoSubscript : CxxRandomAccessCollection { // CHECK: typealias Element = ConstRACIterator.Pointee // CHECK: typealias Iterator = CxxIterator // CHECK: typealias RawIterator = SimpleCollectionNoSubscript.iterator // CHECK: } // CHECK: struct SimpleCollectionReadOnly : CxxRandomAccessCollection { // CHECK: typealias Element = ConstRACIteratorRefPlusEq.Pointee // CHECK: typealias Iterator = CxxIterator // CHECK: typealias RawIterator = SimpleCollectionReadOnly.iterator // CHECK: } // CHECK: struct SimpleCollectionReadWrite : CxxMutableRandomAccessCollection { // CHECK: typealias Element = ConstRACIterator.Pointee // CHECK: typealias Iterator = CxxIterator // CHECK: typealias RawIterator = SimpleCollectionReadWrite.const_iterator // CHECK: typealias RawMutableIterator = SimpleCollectionReadWrite.iterator // CHECK: } // CHECK: struct HasInheritedTemplatedConstRACIterator : CxxRandomAccessCollection { // CHECK: typealias Element = InheritedTemplatedConstRACIterator.Pointee // CHECK: typealias Iterator = CxxIterator> // CHECK: typealias RawIterator = InheritedTemplatedConstRACIterator // CHECK: } // CHECK: struct HasInheritedTemplatedConstRACIteratorOutOfLineOps : CxxRandomAccessCollection { // CHECK: typealias Element = InheritedTemplatedConstRACIteratorOutOfLineOps.Pointee // CHECK: typealias Iterator = CxxIterator> // CHECK: typealias RawIterator = InheritedTemplatedConstRACIteratorOutOfLineOps // CHECK: }