summaryrefslogtreecommitdiff
path: root/tests/headers/template-param-usage-7.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/template-param-usage-7.hpp')
-rw-r--r--tests/headers/template-param-usage-7.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/template-param-usage-7.hpp b/tests/headers/template-param-usage-7.hpp
new file mode 100644
index 00000000..99d4cc71
--- /dev/null
+++ b/tests/headers/template-param-usage-7.hpp
@@ -0,0 +1,10 @@
+// bindgen-flags: -- -std=c++14
+
+template <typename T, typename U, typename V>
+class DoesNotUseU {
+ T t;
+ V v;
+};
+
+// The bool should go away becuase U is not used.
+using Alias = DoesNotUseU<int, bool, char>;