diff options
author | Youmu <johnmave126@gmail.com> | 2020-09-14 16:04:34 -0400 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-09-15 00:18:51 +0200 |
commit | f4d10c360453e91973cd08189af6185bb7c964c9 (patch) | |
tree | ee34d6fa0287dd6e926cd78dbf4fdfb5093bd397 /bindgen-integration/cpp/Test.h | |
parent | f2214790c8e6a5ce2e599564b8f5340d7abca92f (diff) |
Add integration test for name matching
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r-- | bindgen-integration/cpp/Test.h | 17 |
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(); |