From bbc39d6e75e8b87170f7a3cd72dd34976687e7f6 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 18 Apr 2016 13:40:27 -0500 Subject: Fixes typo in hex number parsing in asm2wasm. (#362) Fixes #352 --- test/unit.asm.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/unit.asm.js') diff --git a/test/unit.asm.js b/test/unit.asm.js index cd432da5c..df731148a 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -52,6 +52,10 @@ function asm(global, env, buffer) { var x = 0; return !x; } + function hexLiterals() { + var i = 0; + i = 0x0 + 0x12ABCdef + 0xFEDcba90; + } function conversions() { var i = 0, d = 0.0, f = Math_fround(0); i = ~~d; -- cgit v1.2.3