aboutsummaryrefslogtreecommitdiff
path: root/tests/webidl/test.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-23 17:52:20 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-23 17:52:20 -0700
commit28ed391308c78e8cda92bfbe22da88ce9767cd25 (patch)
tree41fde9dc11818abd67b836b054f90dc47cffdd0e /tests/webidl/test.cpp
parent55c1dfd2c1548ebfd023e4f7d1c2416a11a534f8 (diff)
webidl binder
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"
+