brintos

brintos / llvm-project-archived public Read only

0
0
Text · 448 B · 81ec1f1 Raw
15 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -triple x86_64-windows-msvc -filetype obj -o %t.obj %s3// RUN: echo -e ".globl myabsolute\nmyabsolute = 0" > %t.dupl.s4// RUN: llvm-mc -triple x86_64-windows-msvc -filetype obj -o %t.dupl.obj %t.dupl.s5// RUN: lld-link /out:%t.exe %t.obj %t.dupl.obj -subsystem:console -entry:entry 2>&1 | count 06 7// This shouldn't produce any duplicate symbol error.8 9.globl myabsolute10myabsolute = 011 12.globl entry13entry:14    ret15