aboutsummaryrefslogtreecommitdiff
path: root/tests/browser_module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/browser_module.cpp')
-rw-r--r--tests/browser_module.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/browser_module.cpp b/tests/browser_module.cpp
new file mode 100644
index 00000000..85d724b5
--- /dev/null
+++ b/tests/browser_module.cpp
@@ -0,0 +1,15 @@
+
+int state = 0;
+
+extern "C" {
+
+void one() {
+ state++;
+}
+
+int two() {
+ return state;
+}
+
+}
+