diff options
author | Alon Zakai <azakai@google.com> | 2024-07-17 10:48:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-17 10:48:34 -0700 |
commit | ddf919bb00d07c65caa516dcec3a5d65cc824abb (patch) | |
tree | e5985b37b2f4215007aa0ae588821e3e5041246a /test/lit/binary/component-error.test | |
parent | 9cee7d0c886fac271674ab495b3c15134719abdc (diff) | |
download | binaryen-ddf919bb00d07c65caa516dcec3a5d65cc824abb.tar.gz binaryen-ddf919bb00d07c65caa516dcec3a5d65cc824abb.tar.bz2 binaryen-ddf919bb00d07c65caa516dcec3a5d65cc824abb.zip |
Error more clearly on wasm components (#6751)
Component binary format: https://github.com/WebAssembly/component-model/blob/main/design/mvp/Binary.md#component-definitions
Context:
https://github.com/WebAssembly/binaryen/issues/6728#issuecomment-2231288924
Diffstat (limited to 'test/lit/binary/component-error.test')
-rw-r--r-- | test/lit/binary/component-error.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lit/binary/component-error.test b/test/lit/binary/component-error.test new file mode 100644 index 000000000..57bcec457 --- /dev/null +++ b/test/lit/binary/component-error.test @@ -0,0 +1,6 @@ +# Verify that we show an error when given a component. + +;; RUN: not wasm-opt %s.wasm 2>&1 | filecheck %s + +;; CHECK: this looks like a wasm component, which Binaryen does not support yet (see https://github.com/WebAssembly/binaryen/issues/6728) + |