annotate tests/mini/compile_bug164_stringinitcast.d @ 1292:ad41053c336e

Make static int[] a = [1, 2]; a[0] = 4; not segfault by making the array data ptr a non-const global variable.
author Christian Kamm <kamm incasoftware de>
date Sun, 03 May 2009 11:16:54 +0200
parents d8c44f1e08e1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
888
d8c44f1e08e1 Fix #164.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
1 const C = "foo";
d8c44f1e08e1 Fix #164.
Christian Kamm <kamm incasoftware de>
parents:
diff changeset
2 char[] var = C;