summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/var-tracing.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/var-tracing.hpp')
-rw-r--r--bindgen-tests/tests/headers/var-tracing.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/var-tracing.hpp b/bindgen-tests/tests/headers/var-tracing.hpp
new file mode 100644
index 00000000..ef002a00
--- /dev/null
+++ b/bindgen-tests/tests/headers/var-tracing.hpp
@@ -0,0 +1,10 @@
+// bindgen-flags: --allowlist-type Baz
+
+struct Bar {
+ const int m_baz;
+ Bar(int baz);
+};
+
+class Baz {
+ static const Bar FOO[];
+};