brintos

brintos / llvm-project-archived public Read only

0
0
Text · 415 B · 1188a9b Raw
17 lines · plain
1// REQUIRES: x862 3// Check that an anti-dependency alias can't be used as an alternate name target.4// RUN: llvm-mc -filetype=obj -triple=x86_64-windows %s -o %t.obj5// RUN: not lld-link -dll -noentry %t.obj -alternatename:sym=altsym 2>&1 | FileCheck %s6// CHECK: error: undefined symbol: sym7 8        .data9        .rva sym10 11        .weak_anti_dep altsym12        .set altsym,a13 14        .globl a15a:16        .word 117