summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit.wast4
-rw-r--r--test/unit.wast.fromBinary4
-rw-r--r--test/unit.wast.fromBinary.noDebugInfo4
3 files changed, 12 insertions, 0 deletions
diff --git a/test/unit.wast b/test/unit.wast
index 2ba0f6612..90fab25f3 100644
--- a/test/unit.wast
+++ b/test/unit.wast
@@ -9,6 +9,7 @@
(type $5 (func (result i32)))
(type $6 (func (param i32) (result i32)))
(type $7 (func (param f64) (result f64)))
+ (type $8 (func (result i64)))
(import "env" "_emscripten_asm_const_vi" (func $_emscripten_asm_const_vi))
(import "asm2wasm" "f64-to-int" (func $f64-to-int (param f64) (result i32)))
(import "asm2wasm" "f64-rem" (func $f64-rem (param f64 f64) (result f64)))
@@ -436,4 +437,7 @@
(get_local $0)
)
)
+ (func $big-i64 (type $8) (result i64)
+ (i64.const -9218868437227405313)
+ )
)
diff --git a/test/unit.wast.fromBinary b/test/unit.wast.fromBinary
index 8516d1775..4ff9f0d73 100644
--- a/test/unit.wast.fromBinary
+++ b/test/unit.wast.fromBinary
@@ -9,6 +9,7 @@
(type $5 (func (result i32)))
(type $6 (func (param i32) (result i32)))
(type $7 (func (param f64) (result f64)))
+ (type $8 (func (result i64)))
(import "env" "_emscripten_asm_const_vi" (func $import$0))
(import "asm2wasm" "f64-to-int" (func $import$1 (param f64) (result i32)))
(import "asm2wasm" "f64-rem" (func $import$2 (param f64 f64) (result f64)))
@@ -446,5 +447,8 @@
(get_local $var$0)
)
)
+ (func $big-i64 (type $8) (result i64)
+ (i64.const -9218868437227405313)
+ )
)
diff --git a/test/unit.wast.fromBinary.noDebugInfo b/test/unit.wast.fromBinary.noDebugInfo
index d6980b9be..04448e90b 100644
--- a/test/unit.wast.fromBinary.noDebugInfo
+++ b/test/unit.wast.fromBinary.noDebugInfo
@@ -9,6 +9,7 @@
(type $5 (func (result i32)))
(type $6 (func (param i32) (result i32)))
(type $7 (func (param f64) (result f64)))
+ (type $8 (func (result i64)))
(import "env" "_emscripten_asm_const_vi" (func $import$0))
(import "asm2wasm" "f64-to-int" (func $import$1 (param f64) (result i32)))
(import "asm2wasm" "f64-rem" (func $import$2 (param f64 f64) (result f64)))
@@ -446,5 +447,8 @@
(get_local $var$0)
)
)
+ (func $21 (type $8) (result i64)
+ (i64.const -9218868437227405313)
+ )
)