Tests: Fix SwiftOnly test on Windows

Add public symbols to SubA and SubB.  The test was broken due to a
broken build graph.  The build graph expects libraries to emit the
`.lib` file.  `link.exe` only emits the implib if the library exports at
least one symbol. Because these two libraries were empty, nothing was
generated.

Fixing by adding a public symbol to both libraries.

Issue: #25573
This commit is contained in:
Evan Wilde 2024-01-19 15:44:43 -08:00 committed by Brad King
parent 2dec0c0308
commit 4f49f7fc0b
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
public func hi() { print("hi") }

View File

@ -1 +1,3 @@
import SubA
public var number = 42