File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
test/Interop/SwiftToCxx/stdlib/array Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: %empty-directory(%t)
2
+ // RUN: split-file %S/array-execution.cpp %t
3
+
4
+ // RUN: %target-swift-frontend -typecheck %t/use-array.swift -typecheck -module-name UseArray -enable-experimental-cxx-interop -emit-clang-header-path %t/UseArray.h
5
+
6
+ // RUN: %target-interop-build-clangxx -fno-exceptions -std=gnu++17 -c %t/array-execution.cpp -I %t -o %t/swift-stdlib-execution.o
7
+ // RUN: %target-build-swift %t/use-array.swift -o %t/swift-stdlib-execution -Xlinker %t/swift-stdlib-execution.o -module-name UseArray -Xfrontend -entry-point-function-name -Xfrontend swiftMain
8
+ // RUN: %target-codesign %t/swift-stdlib-execution
9
+ // RUN: %target-run %t/swift-stdlib-execution | %FileCheck %S/array-execution.cpp
10
+
11
+ // REQUIRES: executable_test
You can’t perform that action at this time.
0 commit comments