summaryrefslogtreecommitdiff
path: root/tests/headers/const_tparam.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/const_tparam.hpp')
-rw-r--r--tests/headers/const_tparam.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/const_tparam.hpp b/tests/headers/const_tparam.hpp
new file mode 100644
index 00000000..05f26e4a
--- /dev/null
+++ b/tests/headers/const_tparam.hpp
@@ -0,0 +1,5 @@
+template<typename T>
+class C {
+ const T* const foo;
+ const T* bar;
+};