Skip to content

Commit 8cc0f4f

Browse files
Tests: Add XFAIL-ing test/Driver/static-stdlib-linux-lld.swift
`-use-ld=lld` and `-static-stdlib` combination is now brokwn due to duplicate symbous for unicode properties impls between stdlib and StringProcessing library, which is recently defaulted.
1 parent 025a6fc commit 8cc0f4f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)