Skip to content

Commit

Permalink
Tests: Add XFAIL-ing test/Driver/static-stdlib-linux-lld.swift
Browse files Browse the repository at this point in the history
`-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.
  • Loading branch information
kateinoigakukun committed Jun 21, 2022
1 parent 025a6fc commit 8cc0f4f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/Driver/static-stdlib-linux-lld.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Statically link a "hello world" program
// REQUIRES: OS=linux-gnu
// REQUIRES: static_stdlib
// REQUIRES: lld_lto
// XFAIL: *
print("hello world!")
// RUN: %empty-directory(%t)
// RUN: %target-swiftc_driver -static-stdlib -use-ld=lld %import-static-libdispatch -o %t/static-stdlib-lld %s
// RUN: %t/static-stdlib-lld | %FileCheck %s
// RUN: ldd %t/static-stdlib-lld | %FileCheck %s --check-prefix=LDD
// CHECK: hello world!
// LDD-NOT: libswiftCore.so

0 comments on commit 8cc0f4f

Please sign in to comment.