summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/constified-enum-module-overflow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/constified-enum-module-overflow.hpp')
-rw-r--r--bindgen-tests/tests/headers/constified-enum-module-overflow.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/constified-enum-module-overflow.hpp b/bindgen-tests/tests/headers/constified-enum-module-overflow.hpp
new file mode 100644
index 00000000..d48f2be1
--- /dev/null
+++ b/bindgen-tests/tests/headers/constified-enum-module-overflow.hpp
@@ -0,0 +1,8 @@
+template <typename> class B{};
+template <typename c> class C {
+public:
+ using U = B<c>;
+};
+class A : C<A> {
+ U u;
+};