16 lines · plain
1// REQUIRES: x862 3// Check that a weak alias can be used as an alternate name target.4// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj5// RUN: lld-link -dll -noentry %t.obj -alternatename:sym=altsym6 7 .data8 .rva sym9 10 .weak altsym11 .set altsym,a12 13 .globl a14a:15 .word 116