summaryrefslogtreecommitdiffstats
path: root/libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp')
-rw-r--r--libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp b/libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp
index 47b8eaf18b2..8575cd332a0 100644
--- a/libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp
+++ b/libcxx/test/utilities/meta/meta.hel/integral_constant.pass.cpp
@@ -12,6 +12,7 @@
// integral_constant
#include <type_traits>
+#include <cassert>
int main()
{
@@ -19,6 +20,7 @@ int main()
static_assert(_5::value == 5, "");
static_assert((std::is_same<_5::value_type, int>::value), "");
static_assert((std::is_same<_5::type, _5>::value), "");
+ static_assert((_5() == 5), "");
static_assert(std::false_type::value == false, "");
static_assert((std::is_same<std::false_type::value_type, bool>::value), "");
OpenPOWER on IntegriCloud