22 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.obj4 5# RUN: not lld-link -lldmingw -out:%t.exe -entry:main -subsystem:console %t.obj 2>&1 | FileCheck %s6 7# CHECK: error: undefined symbol: other8 9# Check that the comdat section without a symbol isn't left pending once we iterate symbols10# to print source of the undefined symbol.11 12 .text13 .globl main14main:15 call other16 ret17 18 .section .data$pending,"w"19 .linkonce discard20.Llocal:21 .byte 022