[interop] add target-interop-clangxx test expansion to build C++ file with /MD msvc mode

This commit is contained in:
Alex Lorenz
2022-03-10 09:27:05 -08:00
parent 846fdb5307
commit 07a1f569c6
3 changed files with 8 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
// RUN: %target-swift-frontend %S/swift-functions.swift -typecheck -module-name Functions -emit-cxx-header-path %t/functions.h
// RUN: %target-clangxx -c %s -I %t -o %t/swift-functions-execution.o
// RUN: %target-interop-clangxx -c %s -I %t -o %t/swift-functions-execution.o
// RUN: %target-build-swift-link-cxx %S/swift-functions.swift -o %t/swift-functions-execution -Xlinker %t/swift-functions-execution.o -module-name Functions -Xfrontend -entry-point-function-name -Xfrontend swiftMain
// RUN: %target-codesign %t/swift-functions-execution