mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
16 lines
519 B
Swift
16 lines
519 B
Swift
// Create a self contained binary
|
|
|
|
// REQUIRES: rdar74148842
|
|
// libc.a and libm.a have duplicate definitions of '__isnanl', so this test
|
|
// fails to build.
|
|
|
|
// REQUIRES: OS=linux-gnu
|
|
// REQUIRES: static_stdlib
|
|
print("hello world!")
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swiftc_driver -static-executable -o %t/static-executable %s
|
|
// RUN: %t/static-executable | %FileCheck %s
|
|
// RUN: %llvm-readelf -program-headers %t/static-executable | %FileCheck %s --check-prefix=ELF
|
|
// CHECK: hello world!
|
|
// ELF-NOT: INTERP
|