summaryrefslogtreecommitdiff
path: root/test/lit/binary/component-error.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/binary/component-error.test')
-rw-r--r--test/lit/binary/component-error.test6
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)
+