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 33// RUN: %target-swift-frontend %S/cdecl.swift -typecheck -module-name CdeclFunctions -emit-cxx-header-path %t/functions.h
44
55// 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
77
88// RUN: %target-codesign %t/cdecl-execution
99// RUN: %target-run %t/cdecl-execution
Original file line number Diff line number Diff line change 33// RUN: %target-swift-frontend %S/swift-functions.swift -typecheck -module-name Functions -emit-cxx-header-path %t/functions.h
44
55// 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
77
88// RUN: %target-codesign %t/swift-functions-execution
99// RUN: %target-run %t/swift-functions-execution | %FileCheck %s
You can’t perform that action at this time.
0 commit comments