Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / weak-undef-lazy.s
blob0a4188fca27117778572d5d705d1feb096c0d572
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/weak-undef-lazy.s -o %t2.o
4 # RUN: rm -f %t2.a
5 # RUN: llvm-ar rc %t2.a %t2.o
6 # RUN: ld.lld %t.o %t2.a -o /dev/null --export-dynamic
8 .global _start
9 _start:
10 .weak foobar
11 .quad foobar