diff options
Diffstat (limited to 'test/passes/memory-packing_all-features.txt')
-rw-r--r-- | test/passes/memory-packing_all-features.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/passes/memory-packing_all-features.txt b/test/passes/memory-packing_all-features.txt index af18ea25f..bc9139f74 100644 --- a/test/passes/memory-packing_all-features.txt +++ b/test/passes/memory-packing_all-features.txt @@ -1505,3 +1505,27 @@ ) ) ) +(module + (type $none_=>_none (func)) + (import "env" "memory" (memory $mimport$0 1 1)) + (data passive "skipped") + (data passive "included") + (global $__mem_segment_drop_state_0 (mut i32) (i32.const 0)) + (export "func_54" (func $0)) + (func $0 + (if + (global.get $__mem_segment_drop_state_0) + (unreachable) + ) + (memory.fill + (i32.const 0) + (i32.const 0) + (i32.const 30) + ) + (memory.init 1 + (i32.const 30) + (i32.const 0) + (i32.const 8) + ) + ) +) |