xref: /llvm-project/lld/test/ELF/dynamic-list-unexpected-end.s (revision 81cebfd0080e3873d0cef5ee5215b8c97332ff96)
1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4# RUN: echo "{ }; foo;" > %t.list
5# RUN: not ld.lld -dynamic-list %t.list -shared %t.o -o /dev/null 2>&1 | FileCheck %s
6
7# CHECK: error: {{.*}}:1: EOF expected, but got foo
8