aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/dynamic-list-unexpected-end.s
blob: f485a662dbf9f620d961c93a5764a1f9efb3f0a9 (plain) (blame)
1
2
3
4
5
6
7
# 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