diff options
Diffstat (limited to 'test/binaryen.js/debug-names.js.txt')
-rw-r--r-- | test/binaryen.js/debug-names.js.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/binaryen.js/debug-names.js.txt b/test/binaryen.js/debug-names.js.txt new file mode 100644 index 000000000..c982f2dc1 --- /dev/null +++ b/test/binaryen.js/debug-names.js.txt @@ -0,0 +1,28 @@ +=== input wast === +(module $hello + (global $world i32 (i32.const 0)) + (func $of (param $wasm i32) + (local $!#$%&'*+-./:<=>?@\^_`|~ f64) + ) +) + +=== parsed wast === +(module $hello + (type $i32_=>_none (func (param i32))) + (global $world i32 (i32.const 0)) + (func $of (param $wasm i32) + (local $!#$%&'*+-./:<=>?@\^_`|~ f64) + (nop) + ) +) + +=== roundtripped === +(module $hello + (type $i32_=>_none (func (param i32))) + (global $global$0 i32 (i32.const 0)) + (func $of (param $js i32) + (local $!#$%&'*+-./:<=>?@\^_`|~ f64) + (nop) + ) +) + |