Mercurial > projects > ldc
view tests/mini/arrayinit1.d @ 870:af7a6faf9406
Fix #153. Factor out common code in StructLiteralExp::to(Const)Elem.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 30 Dec 2008 11:42:01 +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); }