Mercurial > projects > ldc
view tests/mini/arrayinit1.d @ 1225:837f48560863
No need for temporary alloca's here, use a phi node instead.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sun, 19 Apr 2009 19:28:10 +0200 |
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); }