view tests/mini/norun_debug6.d @ 1330:459b6b6f9a8d

Fixed D-style vararg arguments with types that have sizes bigger that pointers, yet are not aligned to pointer sizes. Fixes ticket #276 .
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sun, 10 May 2009 04:37:03 +0200
parents 24ea9bf5f8b7
children 925779c19395
line wrap: on
line source

module mini.norun_debug6;

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

    int* fail;
    *fail = 32;
}