[memprof] Remove an unused using directive (#117004)
[llvm-project.git] / lld / test / ELF / weak-and-strong-undef.s
blobee4e17ff3813b3237339ae2c41eafe69f50c14dc
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
3 # RUN: echo ".weak foo" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t2.o
4 # RUN: not ld.lld %t1.o %t2.o -o /dev/null 2>&1 | FileCheck %s
5 # RUN: not ld.lld %t2.o %t1.o -o /dev/null 2>&1 | FileCheck %s
7 # CHECK: error: undefined symbol: foo
9 .long foo
10 .globl _start
11 _start:
12 ret