Skip to content

Commit ab1d0c7

Browse files
authored
Merge pull request #36024 from eeckstein/fix-global-funcptr-test
2 parents d3f624f + 90d825f commit ab1d0c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILOptimizer/global-functionptr.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
// RUN: %empty-directory(%t)
66
// RUN: touch %t/empty.swift
7-
// RUN: %target-build-swift -O -wmo -parse-as-library -num-threads 2 -emit-module -emit-module-path=%t/Test.swiftmodule -module-name=Test %s %t/empty.swift -c -o %t/test.o
7+
// RUN: %target-swift-frontend -O -parse-as-library -num-threads 2 -emit-module -emit-module-path=%t/Test.swiftmodule -module-name=Test %s %t/empty.swift -c -o %t/test.o -o %t/empty.o
88
// RUN: %target-build-swift -O -wmo -module-name=Main -I%t %S/Inputs/global-functionptr-main.swift -c -o %t/main.o
9-
// RUN: %target-swiftc_driver %t/main.o %t/test.o -o %t/a.out
9+
// RUN: %target-swiftc_driver %t/main.o %t/test.o %t/empty.o -o %t/a.out
1010
// RUN: %target-codesign %t/a.out
1111
// RUN: %target-run %t/a.out | %FileCheck %s -check-prefix=CHECK-OUTPUT
1212

0 commit comments

Comments
 (0)