Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cpputest/cpputest
/ crashMe
Function
crashMe
tests/CppUTestExt/GTest1Test.cpp:68–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
/* Death tests are IMHO not a good idea at all. But for compatibility reason, we'll support it */
67
68
static void crashMe ()
69
{
70
fprintf(stderr,
"Crash me!"
);
71
*((int*) 0) = 10;
72
}
73
74
TEST(GTestSimpleTest, GTestDeathTest)
75
{
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected