summaryrefslogtreecommitdiff
path: root/bindgen-integration/cpp/Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r--bindgen-integration/cpp/Test.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/bindgen-integration/cpp/Test.h b/bindgen-integration/cpp/Test.h
index 8b9ad8d5..fe9bf0d4 100644
--- a/bindgen-integration/cpp/Test.h
+++ b/bindgen-integration/cpp/Test.h
@@ -178,3 +178,16 @@ struct AutoRestoreBool {
struct WithWChar {
wchar_t foo[30];
};
+
+// The names of the following items are unprefixed by the parse callbacks.
+const int MY_PREFIXED_CONST_VALUE = 3;
+
+int my_prefixed_function_name();
+
+struct my_prefixed_bar {
+ int foo;
+};
+
+struct my_prefixed_foo {
+ my_prefixed_bar member;
+};