CMake/Tests/CTestTestCrash/crash.cxx

7 lines
63 B
C++

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