1 # Tests error on archive file without a symbol table
2 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
3 # RUN: llvm-as -o %t.archive.o %S/Inputs/archive1.ll
5 # RUN: llvm-ar crS %t.a %t.archive.o
7 # RUN: not wasm-ld -o out.wasm %t.o %t.a 2>&1 | FileCheck %s
11 .functype _start () -> ()
14 # CHECK: archive has no index; run ranlib to add one