mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Add STATIC_CHECK and STATIC_CHECK_FALSE (#2318)
This commit is contained in:
		@@ -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]") {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user