Mercurial > projects > ldc
view tests/mini/mutablearrayinit.d @ 1331:1565b33a6ecb
Fixed CTFE evaluation on .dup . Fixes ticket #288 .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sun, 10 May 2009 14:32:23 +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; }