We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a391043 + a85fa56 commit 728971cCopy full SHA for 728971c
test/Driver/static-stdlib-linux-lld.swift
@@ -0,0 +1,12 @@
1
+// Statically link a "hello world" program
2
+// REQUIRES: OS=linux-gnu
3
+// REQUIRES: static_stdlib
4
+// REQUIRES: lld_lto
5
+// XFAIL: *
6
+print("hello world!")
7
+// RUN: %empty-directory(%t)
8
+// RUN: %target-swiftc_driver -static-stdlib -use-ld=lld %import-static-libdispatch -o %t/static-stdlib-lld %s
9
+// RUN: %t/static-stdlib-lld | %FileCheck %s
10
+// RUN: ldd %t/static-stdlib-lld | %FileCheck %s --check-prefix=LDD
11
+// CHECK: hello world!
12
+// LDD-NOT: libswiftCore.so
0 commit comments