summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2020-03-25 10:02:42 -0700
committerGitHub <noreply@github.com>2020-03-25 10:02:42 -0700
commitd8771ed54edc85ee71e69b835cdaab57bd2722f4 (patch)
tree7d0d31e411b9327513828cfaaade8850c0bf1115 /test
parent7898e57f28c89565b99e894e764e058346e28fbe (diff)
downloadwabt-d8771ed54edc85ee71e69b835cdaab57bd2722f4.tar.gz
wabt-d8771ed54edc85ee71e69b835cdaab57bd2722f4.tar.bz2
wabt-d8771ed54edc85ee71e69b835cdaab57bd2722f4.zip
Move event section before global section (#1374)
We decided move the event section before the global section in WebAssembly/exception-handling#98.
Diffstat (limited to 'test')
-rw-r--r--test/binary/bad-event-after-global.txt (renamed from test/binary/bad-event-after-export.txt)2
-rw-r--r--test/binary/bad-event-before-memory.txt (renamed from test/binary/bad-event-before-global.txt)6
2 files changed, 4 insertions, 4 deletions
diff --git a/test/binary/bad-event-after-export.txt b/test/binary/bad-event-after-global.txt
index bcfcc185..ae236831 100644
--- a/test/binary/bad-event-after-export.txt
+++ b/test/binary/bad-event-after-global.txt
@@ -3,7 +3,7 @@
;;; ARGS2: --enable-exceptions
magic
version
-section(EXPORT) { count[0] }
+section(GLOBAL) { count[0] }
section(EVENT) { count[0] }
(;; STDERR ;;;
000000d: error: section Event out of order
diff --git a/test/binary/bad-event-before-global.txt b/test/binary/bad-event-before-memory.txt
index ae0758f1..992531f0 100644
--- a/test/binary/bad-event-before-global.txt
+++ b/test/binary/bad-event-before-memory.txt
@@ -4,8 +4,8 @@
magic
version
section(EVENT) { count[0] }
-section(GLOBAL) { count[0] }
+section(MEMORY) { count[0] }
(;; STDERR ;;;
-000000d: error: section Global out of order
-000000d: error: section Global out of order
+000000d: error: section Memory out of order
+000000d: error: section Memory out of order
;;; STDERR ;;)