diff options
author | Sam Clegg <sbc@chromium.org> | 2019-12-08 20:50:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-08 20:50:25 -0600 |
commit | 42b61e3c2e7851ed001bf26a7e1afab21d0cb38d (patch) | |
tree | b86a0a10ec9ea1d4351e4500ff84f987894aaf8e /test/unit/input/asyncify-stackOverflow.wat | |
parent | b232033385b025ba276423613fb67f644c0596ce (diff) | |
download | binaryen-42b61e3c2e7851ed001bf26a7e1afab21d0cb38d.tar.gz binaryen-42b61e3c2e7851ed001bf26a7e1afab21d0cb38d.tar.bz2 binaryen-42b61e3c2e7851ed001bf26a7e1afab21d0cb38d.zip |
Use wat over wast for text format filenames (#2518)
Diffstat (limited to 'test/unit/input/asyncify-stackOverflow.wat')
-rw-r--r-- | test/unit/input/asyncify-stackOverflow.wat | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/unit/input/asyncify-stackOverflow.wat b/test/unit/input/asyncify-stackOverflow.wat new file mode 100644 index 000000000..a36a06b40 --- /dev/null +++ b/test/unit/input/asyncify-stackOverflow.wat @@ -0,0 +1,22 @@ +(module + (memory 1 2) + (import "env" "sleep" (func $sleep)) + (export "memory" (memory 0)) + (func "many_locals" (param $x i32) (result i32) + (local $y i32) + (local $z i32) + (local.set $y + (i32.add (local.get $x) (i32.const 10)) + ) + (local.set $z + (i32.add (local.get $y) (i32.const 20)) + ) + (call $sleep) + (select + (local.get $y) + (local.get $z) + (local.get $x) + ) + ) +) + |