summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/test/support/any_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/support/any_helpers.h b/libcxx/test/support/any_helpers.h
index 099bcec4289..6bdc3fd4336 100644
--- a/libcxx/test/support/any_helpers.h
+++ b/libcxx/test/support/any_helpers.h
@@ -414,10 +414,10 @@ struct large_tracked_t {
: arg_types(&makeArgumentID<std::initializer_list<int>, Args...>()) {}
TypeID const* arg_types;
- int dummy[10];
+ int dummy[sizeof(std::any) / sizeof(int) + 1];
};
-static_assert(!IsSmallObject<large_tracked_t>::value, "must be small");
+static_assert(!IsSmallObject<large_tracked_t>::value, "must not be small");
template <class Type, class ...Args>
OpenPOWER on IntegriCloud