Commit 79e6081
committed
Test: Make sure global section validation fails correctly
The file incompatible_init_desc_type.wasm is based on the file
testsuite/globals.wasm and has the first global declaration in the
global section edited to change the global description type from 0x7f
to 0x7e, thus making it incompatible with the type returned from the
instantiation-time initializer.1 parent 3da6dc9 commit 79e6081
File tree
3 files changed
+4
-1
lines changed- test
- testsuite_fail/global
3 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
Binary file not shown.
0 commit comments