diff options
Diffstat (limited to 'test/unit.wast')
-rw-r--r-- | test/unit.wast | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit.wast b/test/unit.wast index d0b2ee76d..2e053fd73 100644 --- a/test/unit.wast +++ b/test/unit.wast @@ -1,5 +1,6 @@ (module (memory 16777216 16777216) + (import $f64-rem "asm2wasm" "f64-rem" (param f64 f64) (result f64)) (export "big_negative" $big_negative) (table $z $big_negative $importedDoubles $z) (func $big_negative @@ -210,6 +211,12 @@ ) ) ) + (func $frem (result f64) + (call_import $f64-rem + (f64.const 5.5) + (f64.const 1.2) + ) + ) (func $z (nop) ) |