aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/slice.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2023-05-10 17:04:55 +0200
committerLuuk de Gram <luuk@degram.dev>2023-05-19 20:19:00 +0200
commit6c06944b5958e2b624004e986deee8e52c765e6e (patch)
treee5fe5776ad1cacb85125f82c7d07973688a58fb4 /test/behavior/slice.zig
parent43e89026ac90ee6e8c2cb066068eb8ff10352ac1 (diff)
downloadzig-6c06944b5958e2b624004e986deee8e52c765e6e.tar.gz
zig-6c06944b5958e2b624004e986deee8e52c765e6e.zip
wasm: fix return `ret_load` with zero-size type
When we have a `ret_load` instruction with a zero-sized type which was not an error, we would not emit any instruction. This resulted in no `return` instruction and also not correctly resetting the global stack_pointer. This commit also enables the regular test runner for the WebAssembly backend.
Diffstat (limited to 'test/behavior/slice.zig')
0 files changed, 0 insertions, 0 deletions