File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ // RUN: %empty-directory(%t)
2+ // RUN: %target-swift-ide-test -print-module -module-to-print std -source-filename none -enable-experimental-cxx-interop -module-cache-path %t | %FileCheck %s -check-prefix CHECK-STD
3+ // RUN: %target-swift-ide-test -print-module -module-to-print=std.string -source-filename=x -enable-experimental-cxx-interop -module-cache-path %t | %FileCheck %s -check-prefix CHECK-STRING
4+
5+ // This test is specific to msvcprt and therefore only runs on Windows.
6+ // REQUIRES: OS=windows-msvc
7+
8+ // CHECK-STD: import std.iosfwd
9+ // CHECK-STD: import std.string
10+
11+ // CHECK-STRING: enum std {
12+ // CHECK-STRING: typealias size_t = size_t
13+ // CHECK-STRING: static func to_string(_ _Val: Int32) -> std.string
14+ // CHECK-STRING: static func to_wstring(_ _Val: Int32) -> std.wstring
15+ // CHECK-STRING: struct __CxxTemplateInstSs {
16+ // CHECK-STRING: typealias value_type = CChar
17+ // CHECK-STRING: }
18+ // CHECK-STRING: struct __CxxTemplateInstSbIwSt11char_traitsIwESaIwEE {
19+ // CHECK-STRING: typealias value_type = CWideChar
20+ // CHECK-STRING: }
21+ // CHECK-STRING: typealias string = std.__CxxTemplateInstSs
22+ // CHECK-STRING: typealias wstring = std.__CxxTemplateInstSbIwSt11char_traitsIwESaIwEE
23+ // CHECK-STRING: }
24+
You can’t perform that action at this time.
0 commit comments