summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/class.hpp')
-rw-r--r--tests/headers/class.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/class.hpp b/tests/headers/class.hpp
index 67ecb37b..1de16471 100644
--- a/tests/headers/class.hpp
+++ b/tests/headers/class.hpp
@@ -32,6 +32,11 @@ class WithDtor {
~WithDtor() {}
};
+class IncompleteArrayNonCopiable {
+ void* whatever;
+ C incomplete_array[];
+};
+
union Union {
float d;
int i;