dynamic-list-unexpected-end.s 250 Bytes
# 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 %t.so 2>&1 | FileCheck %s

# CHECK: error: {{.*}}:1: EOF expected, but got foo