summaryrefslogtreecommitdiff
path: root/test/binary/bad-data-count-order-after-code.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/binary/bad-data-count-order-after-code.txt')
-rw-r--r--test/binary/bad-data-count-order-after-code.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/binary/bad-data-count-order-after-code.txt b/test/binary/bad-data-count-order-after-code.txt
new file mode 100644
index 00000000..6af64f24
--- /dev/null
+++ b/test/binary/bad-data-count-order-after-code.txt
@@ -0,0 +1,11 @@
+;;; TOOL: run-gen-wasm-bad
+;;; ARGS1: --enable-bulk-memory
+;;; ARGS2: --enable-bulk-memory
+magic
+version
+section(CODE) { count[0] }
+section(DATACOUNT) { count[0] }
+(;; STDERR ;;;
+000000d: error: section DataCount out of order
+000000d: error: section DataCount out of order
+;;; STDERR ;;)