llvm-project/lld/test/ELF/dynamic-list-unexpected-end.s

8 lines
254 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: echo "{ }; foo;" > %t.list
# RUN: not ld.lld -dynamic-list %t.list -shared %t.o -o /dev/null 2>&1 | FileCheck %s
# CHECK: error: {{.*}}:1: EOF expected, but got foo