File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
// Statically link a "hello world" program
2
- // REQUIRES: OS=linux-gnu
3
2
// REQUIRES: static_stdlib
4
3
print ( " hello world! " )
5
4
// RUN: %empty-directory(%t)
6
- // RUN: %target-swiftc_driver -v -static-stdlib -o %t/static-stdlib %s -Xlinker --no-allow-multiple-definition 2>&1| %FileCheck %s
7
- // CHECK: Swift version
8
- // CHECK: Target: x86_64-unknown-linux-gnu
5
+ // RUN: %target-swiftc_driver -driver-print-jobs -static-stdlib -o %t/static-stdlib %s -Xlinker --no-allow-multiple-definition 2>&1| %FileCheck %s
9
6
// CHECK: {{.*}}/swift -frontend -c -primary-file {{.*}}/linker-args-order-linux.swift -target x86_64-unknown-linux-gnu -disable-objc-interop
10
7
// CHECK: {{.*}}/swift-autolink-extract{{.*}}
11
8
// CHECK: {{.*}}swift_begin.o /{{.*}}/linker-args-order-linux-{{[a-z0-9]+}}.o @/{{.*}}/linker-args-order-linux-{{[a-z0-9]+}}.autolink {{.*}} @{{.*}}/static-stdlib-args.lnk {{.*}} -Xlinker --no-allow-multiple-definition {{.*}}/swift_end.o
You can’t perform that action at this time.
0 commit comments