Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/Compilation.tests.cpp
diff options
context:
space:
mode:
authorMorwenn2021-11-15 00:28:27 +0100
committerGitHub2021-11-15 00:28:27 +0100
commitf41d76167431eeb0ae8e82703e5597769c0531b8 (patch)
treec8d12223841b561eee975fc5ba8a9043ca6fe6e7 /tests/SelfTest/UsageTests/Compilation.tests.cpp
parentedc2f6e8a35b6261e83db9c685f44cb3a4c24d04 (diff)
downloadcatch3-f41d76167431eeb0ae8e82703e5597769c0531b8.tar.gz
Add STATIC_CHECK and STATIC_CHECK_FALSE (#2318)
Diffstat (limited to 'tests/SelfTest/UsageTests/Compilation.tests.cpp')
-rw-r--r--tests/SelfTest/UsageTests/Compilation.tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/SelfTest/UsageTests/Compilation.tests.cpp b/tests/SelfTest/UsageTests/Compilation.tests.cpp
index c40c09f8..866644e3 100644
--- a/tests/SelfTest/UsageTests/Compilation.tests.cpp
+++ b/tests/SelfTest/UsageTests/Compilation.tests.cpp
@@ -172,6 +172,8 @@ TEST_CASE("#1403", "[compilation]") {
TEST_CASE("Optionally static assertions", "[compilation]") {
STATIC_REQUIRE( std::is_void<void>::value );
STATIC_REQUIRE_FALSE( std::is_void<int>::value );
+ STATIC_CHECK( std::is_void<void>::value );
+ STATIC_CHECK_FALSE( std::is_void<int>::value );
}
TEST_CASE("#1548", "[compilation]") {