Skip to content

Commit 9e7c3c9

Browse files
committed
Add a test for Wasm toolchain in the legacy driver
1 parent 710816d commit 9e7c3c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Driver/wasm.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// RUN: %swiftc_driver -driver-print-jobs -target wasm32-unknown-wasi -v %s 2>&1 | %FileCheck %s -check-prefix=CHECK-WASM
2+
3+
// CHECK-WASM: swift{{.*}} -frontend -c -primary-file {{.*}} -target wasm32-unknown-wasi -disable-objc-interop
4+
// CHECK-WASM: clang{{.*}} -lswiftCore --target=wasm32-unknown-wasi -v {{.*}}-o

0 commit comments

Comments
 (0)