aboutsummaryrefslogtreecommitdiff
path: root/tests/pre_run_deps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pre_run_deps.cpp')
-rw-r--r--tests/pre_run_deps.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pre_run_deps.cpp b/tests/pre_run_deps.cpp
new file mode 100644
index 00000000..41c06972
--- /dev/null
+++ b/tests/pre_run_deps.cpp
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <emscripten.h>
+
+int main() {
+ printf("main() called.\n");
+ int result = emscripten_run_script_int("Module.okk");
+ REPORT_RESULT();
+ return 1;
+}
+