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