summaryrefslogtreecommitdiff
path: root/bindgen-integration/cpp/Test.h
diff options
context:
space:
mode:
authorYoumu <johnmave126@gmail.com>2020-09-14 16:04:34 -0400
committerEmilio Cobos Álvarez <emilio@crisal.io>2020-09-15 00:18:51 +0200
commitf4d10c360453e91973cd08189af6185bb7c964c9 (patch)
treeee34d6fa0287dd6e926cd78dbf4fdfb5093bd397 /bindgen-integration/cpp/Test.h
parentf2214790c8e6a5ce2e599564b8f5340d7abca92f (diff)
Add integration test for name matching
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r--bindgen-integration/cpp/Test.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/bindgen-integration/cpp/Test.h b/bindgen-integration/cpp/Test.h
index f8b2263f..a9c5258c 100644
--- a/bindgen-integration/cpp/Test.h
+++ b/bindgen-integration/cpp/Test.h
@@ -210,4 +210,21 @@ struct my_prefixed_foo {
my_prefixed_bar member;
};
+enum my_prefixed_enum_to_be_constified {
+ ONE = 1,
+ TWO,
+ THREE,
+};
+
+struct my_prefixed_baz {
+ char foo[30];
+};
+
+template<typename T>
+struct my_prefixed_templated_foo {
+ T member;
+};
+
+my_prefixed_templated_foo<my_prefixed_baz> TEMPLATED_CONST_VALUE;
+
void my_prefixed_function_to_remove();