aboutsummaryrefslogtreecommitdiff
path: root/tests/pre_run_deps.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-05-24 10:13:42 +0200
committerAlon Zakai <alonzakai@gmail.com>2012-05-24 10:13:42 +0200
commita6d312ccb942b50287777fc22dc69de926ea3412 (patch)
tree0acabef2e78a97e7cd1742b9d98acb2a1b496e72 /tests/pre_run_deps.cpp
parentc3570e254952ba0593038993674473e900ada9e0 (diff)
parentb7ce870dd4b1352e308e212e77cd6161c1ec904e (diff)
Merge branch 'master' into llvmsvn
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;
+}
+