Mercurial > projects > ldc
view tests/mini/mutablearrayinit.d @ 1332:de7fad0ad243
Added testcase for #288 .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sun, 10 May 2009 14:37:30 +0200 |
parents | ad41053c336e |
children |
line wrap: on
line source
void main() { static int[] b = [1, 2]; b[0] = 2; typedef int[] ia = [1,2]; static ia a; a[0] = 5; }