aboutsummaryrefslogtreecommitdiff
path: root/tests/webidl/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/webidl/test.cpp')
-rw-r--r--tests/webidl/test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/webidl/test.cpp b/tests/webidl/test.cpp
new file mode 100644
index 00000000..8a2b5c72
--- /dev/null
+++ b/tests/webidl/test.cpp
@@ -0,0 +1,8 @@
+#include "test.h"
+
+Parent::Parent(int val) : value(val) { printf("Parent:%d\n", val); }
+Parent::Parent(Parent *p, Parent *q) : value(p->value + q->value) { printf("Parent:%d\n", value); }
+void Parent::mulVal(int mul) { value *= mul; }
+
+#include "glue.cpp"
+