[lld][WebAssembly] Add test for --export of empty string

The actual bug was fixed in https://reviews.llvm.org/D74589

Differential Revision: https://reviews.llvm.org/D77084
This commit is contained in:
Sam Clegg 2020-03-27 16:54:39 -07:00
parent 96819011ca
commit 9225ff6278

View File

@ -0,0 +1,4 @@
RUN: llc -filetype=obj %p/Inputs/start.ll -o %t.o
RUN: not wasm-ld --export "" %t.o -o %t.wasm 2>&1 | FileCheck --match-full-lines %s
CHECK: wasm-ld: error: symbol exported via --export not found: