aboutsummaryrefslogtreecommitdiff
path: root/test/wasm/undefined.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm/undefined.ll')
-rw-r--r--test/wasm/undefined.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/wasm/undefined.ll b/test/wasm/undefined.ll
index 7d2161d2bcc6..1da979fc0764 100644
--- a/test/wasm/undefined.ll
+++ b/test/wasm/undefined.ll
@@ -1,10 +1,10 @@
; RUN: llc -filetype=obj %s -o %t.o
; RUN: wasm-ld --allow-undefined -o %t.wasm %t.o
-; Fails due to undefined 'foo' and also 'baz'
+; Fails due to undefined 'foo'
; RUN: not wasm-ld --undefined=baz -o %t.wasm %t.o 2>&1 | FileCheck %s
; CHECK: error: {{.*}}.o: undefined symbol: foo
-; CHECK: error: undefined symbol: baz
+; CHECK-NOT: undefined symbol: baz
; Succeeds if we pass a file containing 'foo' as --allow-undefined-file.
; RUN: echo 'foo' > %t.txt