File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
test/Interop/Cxx/swiftify-import Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11// REQUIRES: swift_feature_SafeInteropWrappers
2+ // REQUIRES: OS=macosx
23
4+ // Don't run this test with libc++ versions 17-19, when the top-level std module was split into multiple top-level modules.
35// RUN: %empty-directory(%t)
4- // RUN: split-file %s %t
5- // RUN: %target-swift-frontend -emit-module -plugin-path %swift-plugin-dir -o %t/Test.swiftmodule -I %t/Inputs -enable-experimental-feature SafeInteropWrappers -strict-memory-safety -warnings-as-errors -Xcc -Werror %t/test.swift -cxx-interoperability-mode=default -Xcc -std=c++20
6+ // RUN: %target-clangxx %S/../stdlib/Inputs/check-libcxx-version.cpp -o %t/check-libcxx-version
7+ // RUN: %target-codesign %t/check-libcxx-version
8+
9+ // RUN: %target-run %t/check-libcxx-version || split-file %s %t
10+ // RUN: %target-run %t/check-libcxx-version || %target-swift-frontend -emit-module -plugin-path %swift-plugin-dir -o %t/Test.swiftmodule -I %t/Inputs -enable-experimental-feature SafeInteropWrappers -strict-memory-safety -warnings-as-errors -Xcc -Werror %t/test.swift -cxx-interoperability-mode=default -Xcc -std=c++20
611
712// Test that implicit imports can refer to std_core etc., even though Swift source code may not.
813
You can’t perform that action at this time.
0 commit comments