view tests/mini/arrayinit1.d @ 855:e78e1d559a76

Apply fix for #151.
author Christian Kamm <kamm incasoftware de>
date Mon, 15 Dec 2008 21:09:33 +0100
parents 489f6f39ca09
children
line wrap: on
line source

void main()
{
    float m[4][4];

    float* fp = &m[0][0];
    for (int i=0; i<16; i++,fp++)
        assert(*fp !<>= 0);
}