xref: /llvm-project/lld/test/wasm/export-empty.test (revision fd1c894a4a3690b2e500bfdf71194e9cc3f1b399)
1RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %p/Inputs/start.s -o %t.o
2RUN: not wasm-ld --export "" %t.o -o %t.wasm 2>&1 | FileCheck --match-full-lines %s
3
4CHECK: wasm-ld: error: symbol exported via --export not found:
5