view tests/mini/norun_debug3.d @ 894:77a3d6945f81

Don't use /proc/self/map for finding the static data segment on x86-64 for now. Probably breaks shared libraries. Parsing the file needs to be rewritten!
author Christian Kamm <kamm incasoftware de>
date Mon, 19 Jan 2009 19:34:51 +0100
parents 24ea9bf5f8b7
children 925779c19395
line wrap: on
line source

module mini.norun_debug3;

void main()
{
    int i = 42;
    int* ip = &i;

    int* fail;
    *fail = 0;
}