GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
GTEST_LOG_(WARNING) \
<< "Death tests are not supported on this platform.\n" \
<< "Statement '" #statement "' cannot be verified."; \
::testing::internal::RE::PartialMatch(".*", (regex)); \
GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
terminator; \
} else \
::testing::Message()
GTEST_API_ bool AlwaysTrue()
310# define GTEST_UNSUPPORTED_DEATH_TEST(statement, regex, terminator) \
311 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
312 if (::testing::internal::AlwaysTrue()) { \
313 GTEST_LOG_(WARNING) \
314 << "Death tests are not supported on this platform.\n" \
315 << "Statement '" #statement "' cannot be verified."; \
316 } else if (::testing::internal::AlwaysFalse()) { \
317 ::testing::internal::RE::PartialMatch(".*", (regex)); \
318 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
319 terminator; \
320 } else \
321 ::testing::Message()