File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/Interop/SwiftToCxx/functions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
// RUN: %target-swift-frontend %S/cdecl.swift -typecheck -module-name CdeclFunctions -emit-cxx-header-path %t/functions.h
4
4
5
5
// RUN: %target-clangxx -c %s -I %t -o %t/cdecl-execution.o
6
- // RUN: %target-build-swift %S/cdecl.swift -o %t/cdecl-execution %t/cdecl-execution.o -module-name Functions -Xfrontend -entry-point-function-name -Xfrontend swiftMain -Xfrontend -enable-cxx-interop
6
+ // RUN: %target-build-swift %S/cdecl.swift -o %t/cdecl-execution -Xlinker %t/cdecl-execution.o -module-name Functions -Xfrontend -entry-point-function-name -Xfrontend swiftMain -Xfrontend -enable-cxx-interop
7
7
8
8
// RUN: %target-codesign %t/cdecl-execution
9
9
// RUN: %target-run %t/cdecl-execution
Original file line number Diff line number Diff line change 3
3
// RUN: %target-swift-frontend %S/swift-functions.swift -typecheck -module-name Functions -emit-cxx-header-path %t/functions.h
4
4
5
5
// RUN: %target-clangxx -c %s -I %t -o %t/swift-functions-execution.o
6
- // RUN: %target-build-swift %S/swift-functions.swift -o %t/swift-functions-execution %t/swift-functions-execution.o -module-name Functions -Xfrontend -entry-point-function-name -Xfrontend swiftMain -Xfrontend -enable-cxx-interop
6
+ // RUN: %target-build-swift %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 -Xfrontend -enable-cxx-interop
7
7
8
8
// RUN: %target-codesign %t/swift-functions-execution
9
9
// RUN: %target-run %t/swift-functions-execution | %FileCheck %s
You can’t perform that action at this time.
0 commit comments