You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
When the compile option is set to -O3, the new int in the following code will be optimized, causing the test case test to fail.
logging_custom_prefix_unittest.cc +346
TEST(DeathNoAllocNewHook, logging) {
// tests that NewHook used below works
NewHook new_hook;
ASSERT_DEATH({
new int;
}, "unexpected new");
}
We recommend that you modify the default optimization level of test cases to -O0 to avoid test case failure.