summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/template-with-var.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/template-with-var.hpp')
-rw-r--r--bindgen-tests/tests/headers/template-with-var.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/template-with-var.hpp b/bindgen-tests/tests/headers/template-with-var.hpp
new file mode 100644
index 00000000..88f60d21
--- /dev/null
+++ b/bindgen-tests/tests/headers/template-with-var.hpp
@@ -0,0 +1,7 @@
+template<typename T>
+class TemplateWithVar {
+ // We shouldn't generate bindings for this because there are potentially
+ // many instantiations of this variable, but we can't know which ones exist
+ // or don't.
+ static T var = 0;
+};