CMake/Tests/CTestTestCrash/crash.cxx

7 lines
64 B
C++

// causes a segfault
int main()
{
int* ptr = 0;
*ptr = 1;
}