view tests/mini/arrayinit1.d @ 1071:7d9957c6350e

Fix out of source build by adding the build dir to the include path.
author Christian Kamm <kamm incasoftware de>
date Sun, 08 Mar 2009 17:57:34 +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);
}