Files
binaryen/test/lit/parse-error.wast
Jérôme Vouillon f3462570f4 WAT parser: include file name in error messages (#7318)
This is especially useful with `wasm-merge` which takes several file as
inputs.
2025-02-24 10:11:50 -08:00

11 lines
192 B
Plaintext

;; Test that parse errors have helpful messages
;; RUN: not wasm-opt %s 2>&1 | filecheck %s
;; CHECK: Fatal: {{.*}}:8:5: error: unrecognized instruction
(module
(func $foo
(abc)
)
)