diff options
Diffstat (limited to 'test/passes/code-folding.wast')
-rw-r--r-- | test/passes/code-folding.wast | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/passes/code-folding.wast b/test/passes/code-folding.wast index 2310f9721..ca1768c16 100644 --- a/test/passes/code-folding.wast +++ b/test/passes/code-folding.wast @@ -19,5 +19,38 @@ ) ) ) + (func $negative-zero (result f32) + (if (result f32) + (i32.const 0) + (block $label$0 (result f32) + (f32.const 0) + ) + (block $label$1 (result f32) + (f32.const -0) + ) + ) + ) + (func $negative-zero-b (result f32) + (if (result f32) + (i32.const 0) + (block $label$0 (result f32) + (f32.const -0) + ) + (block $label$1 (result f32) + (f32.const -0) + ) + ) + ) + (func $negative-zero-c (result f32) + (if (result f32) + (i32.const 0) + (block $label$0 (result f32) + (f32.const 0) + ) + (block $label$1 (result f32) + (f32.const 0) + ) + ) + ) ) |