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.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/headers/const_tparam.hpp b/tests/headers/const_tparam.hpp
new file mode 100644
index 00000000..a2db574c
--- /dev/null
+++ b/tests/headers/const_tparam.hpp
@@ -0,0 +1,4 @@
+template<typename T>
+class C {
+ const T* const foo;
+};