summaryrefslogtreecommitdiff
path: root/tests/headers/issue-2239-template-dependent-bit-width.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/issue-2239-template-dependent-bit-width.hpp')
-rw-r--r--tests/headers/issue-2239-template-dependent-bit-width.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/issue-2239-template-dependent-bit-width.hpp b/tests/headers/issue-2239-template-dependent-bit-width.hpp
new file mode 100644
index 00000000..4e6feb3f
--- /dev/null
+++ b/tests/headers/issue-2239-template-dependent-bit-width.hpp
@@ -0,0 +1,10 @@
+template <class a> class b {
+ typedef a td;
+ using ta = a;
+ struct foo {
+ a foo : sizeof(a);
+ a : sizeof(a);
+ td : sizeof(td);
+ ta : sizeof(ta);
+ };
+};