Files
clang-p2996/lld/test/ELF/linkerscript/outputarch.test
2024-07-27 16:52:47 -07:00

14 lines
392 B
Plaintext

# REQUIRES: x86
# RUN: rm -rf %t && split-file %s %t && cd %t
# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o a.o
# RUN: ld.lld -shared -T 1.lds a.o
#--- 1.lds
OUTPUT_ARCH(All data written here is ignored)
#--- unclosed.lds
OUTPUT_ARCH(All
# RUN: not ld.lld -shared -T unclosed.lds a.o 2>&1 | FileCheck %s --check-prefix=UNCLOSED
# UNCLOSED: error: unclosed.lds:1: unexpected EOF