diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-09-06 17:59:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-09-07 18:42:46 -0700 |
commit | c02e76e5a61c507df4c48f644f3702b660f6fab9 (patch) | |
tree | 0dd88f0c04cd1a7a9039e9be5a06a0f47fc9b03b /test/unit.asm.js | |
parent | e9dfbe4de951ff6c3f3830fbcd1229d3d31a1190 (diff) | |
download | binaryen-c02e76e5a61c507df4c48f644f3702b660f6fab9.tar.gz binaryen-c02e76e5a61c507df4c48f644f3702b660f6fab9.tar.bz2 binaryen-c02e76e5a61c507df4c48f644f3702b660f6fab9.zip |
add a test
Diffstat (limited to 'test/unit.asm.js')
-rw-r--r-- | test/unit.asm.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js index 2435c0938..893d29a99 100644 --- a/test/unit.asm.js +++ b/test/unit.asm.js @@ -356,7 +356,11 @@ function asm(global, env, buffer) { Int = x; globalOpts(); x = Int; - if (1) Int = 20; + if (1) Int = 20; // but this does interfere + Int = x; + globalOpts(); + x = Int; + globalOpts(); // this too Int = x; } |