summaryrefslogtreecommitdiffstats
path: root/test cases/wasm/3 jslib/somefuncs.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/wasm/3 jslib/somefuncs.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/wasm/3 jslib/somefuncs.js b/test cases/wasm/3 jslib/somefuncs.js
new file mode 100644
index 0000000..1c00336
--- /dev/null
+++ b/test cases/wasm/3 jslib/somefuncs.js
@@ -0,0 +1,6 @@
+mergeInto(LibraryManager.library, {
+ sample_function__sig: 'v',
+ sample_function: function() {
+ alert("Something happened!");
+ },
+});