summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2016-12-12 16:11:43 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2016-12-13 14:33:01 +0100
commit883ff74e5f20b68b41f322daa582d9208eece65a (patch)
tree10f0c8aa40dad4a9b48d8a705761074fff9036d3 /libbindgen/tests/headers
parent5d9c48e59b49135db1ecfd4ff8c3dbab8ed05086 (diff)
Add support for constructors, and integration tests.
Diffstat (limited to 'libbindgen/tests/headers')
-rw-r--r--libbindgen/tests/headers/constructors.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/constructors.hpp b/libbindgen/tests/headers/constructors.hpp
new file mode 100644
index 00000000..d4174889
--- /dev/null
+++ b/libbindgen/tests/headers/constructors.hpp
@@ -0,0 +1,13 @@
+
+class TestOverload {
+ // This one shouldnt' be generated.
+ TestOverload();
+public:
+ TestOverload(int);
+ TestOverload(double);
+};
+
+class TestPublicNoArgs {
+public:
+ TestPublicNoArgs();
+};