view tests/mini/norun_debug6.d @ 1599:0a4be54234d6

Revert fix by Robert for downs as it causes a segfault when compiling tango.
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 23 Dec 2009 22:49:20 -0700
parents 925779c19395
children
line wrap: on
line source

module mini.norun_debug6;

void main()
{
    char[] str = "hello world :)";

    int* fail = cast(int*) 1;
    *fail = 32;
}