view tests/mini/mutablearrayinit.d @ 1646:a8fc855f156e

Don't remove an old .o with -output-{bc,ll,s}.
author Matti Niemenmaa <matti.niemenmaa+hg@iki.fi>
date Tue, 09 Mar 2010 23:21:48 +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;
}