Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / autoimport-nowarn.s
bloba205499200d096b960de9cd8020c791b01e0a124
1 # REQUIRES: x86
3 # RUN: echo -e "EXPORTS\nvariable" > %t-lib.def
4 # RUN: llvm-dlltool -m i386 -d %t-lib.def -D lib.dll -l %t-lib.lib
6 # RUN: llvm-mc -triple=i386-windows-gnu %s -filetype=obj -o %t.obj
7 # RUN: lld-link -lldmingw -out:%t.exe -entry:main %t.obj %t-lib.lib -verbose 2>&1 | FileCheck --allow-empty %s
9 # CHECK-NOT: runtime pseudo relocation {{.*}} is too narrow
11 .global _main
12 .text
13 _main:
14 movl _variable, %eax
15 ret
17 relocs:
18 .long ___RUNTIME_PSEUDO_RELOC_LIST__
19 .long ___RUNTIME_PSEUDO_RELOC_LIST_END__