[ELF] relocateNonAlloc: clean up workaround code
[llvm-project.git] / lld / test / wasm / bad-archive-member.s
blob029027a8517a364056c717ac841853bd9fa61e96
1 # REQUIRES: x86
3 # RUN: rm -rf %t.dir
4 # RUN: mkdir -p %t.dir
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t.dir/elf.o %s
6 # RUN: llvm-ar rcs %t.dir/libfoo.a %t.dir/elf.o
7 # RUN: not wasm-ld %t.dir/libfoo.a -o /dev/null 2>&1 | FileCheck %s
8 # CHECK: error: unknown file type: {{.*}}libfoo.a(elf.o)
10 .globl _start
11 _start: