summaryrefslogtreecommitdiff
path: root/tests/headers/template-with-var.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/template-with-var.hpp')
-rw-r--r--tests/headers/template-with-var.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/template-with-var.hpp b/tests/headers/template-with-var.hpp
new file mode 100644
index 00000000..88f60d21
--- /dev/null
+++ b/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;
+};