hanchenye-llvm-project/lld/test/elf2/undef.s

9 lines
210 B
ArmAsm

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld2 %t -o %t2 2>&1 | FileCheck %s
# CHECK: undefined symbol: foo in {{.*}}
# REQUIRES: x86
.globl _start;
_start:
call foo