summaryrefslogtreecommitdiff
path: root/Tests/CTestTestCrash/crash.cxx
blob: bc9e096e4323caa97c51e278e58fb54bbb828290 (plain)
1
2
3
4
5
6
//causes a segfault
int main()
{
  int* ptr = 0;
  *ptr = 1;
}