diff options
Diffstat (limited to 'test/binaryen.js/kitchen-sink.js')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/binaryen.js/kitchen-sink.js b/test/binaryen.js/kitchen-sink.js index 54fa9abd8..4e40adb17 100644 --- a/test/binaryen.js/kitchen-sink.js +++ b/test/binaryen.js/kitchen-sink.js @@ -941,6 +941,15 @@ function test_for_each() { module.dispose(); } +function test_expression_info() { + module = new Binaryen.Module(); + + // Issue #2392 + console.log("getExpressionInfo(memory.grow)=" + JSON.stringify(Binaryen.getExpressionInfo(module.memory.grow(1)))); + + module.dispose(); +} + function main() { test_types(); test_features(); @@ -954,6 +963,7 @@ function main() { test_parsing(); test_internals(); test_for_each(); + test_expression_info(); } main(); |