Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / duplicate-absolute-same.s
blob81ec1f1bd70e00e891fe6b819cc99896bb2efe5d
1 // REQUIRES: x86
2 // RUN: llvm-mc -triple x86_64-windows-msvc -filetype obj -o %t.obj %s
3 // RUN: echo -e ".globl myabsolute\nmyabsolute = 0" > %t.dupl.s
4 // RUN: llvm-mc -triple x86_64-windows-msvc -filetype obj -o %t.dupl.obj %t.dupl.s
5 // RUN: lld-link /out:%t.exe %t.obj %t.dupl.obj -subsystem:console -entry:entry 2>&1 | count 0
7 // This shouldn't produce any duplicate symbol error.
9 .globl myabsolute
10 myabsolute = 0
12 .globl entry
13 entry:
14 ret