14 lines · plain
1# REQUIRES: x862# RUN: rm -rf %t && split-file %s %t && cd %t3# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o a.o4# RUN: ld.lld -shared -T 1.lds a.o5 6#--- 1.lds7OUTPUT_ARCH(All data written here is ignored)8 9#--- unclosed.lds10OUTPUT_ARCH(All11 12# RUN: not ld.lld -shared -T unclosed.lds a.o 2>&1 | FileCheck %s --check-prefix=UNCLOSED13# UNCLOSED: error: unclosed.lds:1: unexpected EOF14