summaryrefslogtreecommitdiff
path: root/tests/headers/struct_with_large_array.hpp
diff options
context:
space:
mode:
authorWangshan Lu <wisagan@gmail.com>2017-08-01 15:08:15 +0800
committerWangshan Lu <wisagan@gmail.com>2017-08-01 15:08:15 +0800
commitcc938cb9bf656b49aecf1d569084b12ad56048d4 (patch)
tree867642860b5f07e3ab7d03bdedd7d81628bf4db3 /tests/headers/struct_with_large_array.hpp
parent09abb26c14ec5ea749d0a8b3538af95770946b15 (diff)
Support deriving copy for large array
Diffstat (limited to 'tests/headers/struct_with_large_array.hpp')
-rw-r--r--tests/headers/struct_with_large_array.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/struct_with_large_array.hpp b/tests/headers/struct_with_large_array.hpp
new file mode 100644
index 00000000..fc67b333
--- /dev/null
+++ b/tests/headers/struct_with_large_array.hpp
@@ -0,0 +1,7 @@
+struct S {
+ char large_array[33];
+};
+
+template<typename T> struct ST {
+ T large_array[33];
+};