summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/tests/segfault/segfault.cpp
blob: 3a77e5003de2a5282e9ca761009738e5c1fd4538 (plain)
1
2
3
4
5
6
7


int main()
{
    int* ptr = 0;
    *ptr = 10;
}