view tests/mini/norun_debug6.d @ 1628:6c36e3f49b28

Merge DMD r324: bugzilla 3663 and 3664 - fwd ref regressions --- dmd/class.c | 2 +- dmd/enum.c | 4 +++- dmd/enum.h | 2 ++ dmd/mars.c | 2 +- dmd/struct.c | 5 ++++- 5 files changed, 11 insertions(+), 4 deletions(-)
author Leandro Lucarella <llucax@gmail.com>
date Wed, 06 Jan 2010 15:18:23 -0300
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;
}