diff options
| author | Morwenn | 2021-11-15 00:28:27 +0100 |
|---|---|---|
| committer | GitHub | 2021-11-15 00:28:27 +0100 |
| commit | f41d76167431eeb0ae8e82703e5597769c0531b8 (patch) | |
| tree | c8d12223841b561eee975fc5ba8a9043ca6fe6e7 /tests/SelfTest/UsageTests/Compilation.tests.cpp | |
| parent | edc2f6e8a35b6261e83db9c685f44cb3a4c24d04 (diff) | |
| download | catch3-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.cpp | 2 |
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]") { |