aboutsummaryrefslogtreecommitdiff
path: root/tests/cmake/target_js/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cmake/target_js/main.cpp')
-rw-r--r--tests/cmake/target_js/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cmake/target_js/main.cpp b/tests/cmake/target_js/main.cpp
new file mode 100644
index 00000000..4b61dbf7
--- /dev/null
+++ b/tests/cmake/target_js/main.cpp
@@ -0,0 +1,10 @@
+extern "C" {
+ void lib_function();
+ void lib_function2();
+}
+
+int main()
+{
+ lib_function();
+ lib_function2();
+}