https://bugzilla.gnome.org/show_bug.cgi?id=787152
// no heap allocation for fixed-length arrays
var temp_var = get_temp_variable (array_type, true, expr);
+ temp_var.init = true;
var name_cnode = get_variable_cexpression (temp_var.name);
int i = 0;
basic-types/bug771626.test \
basic-types/bug772426.vala \
basic-types/bug777697.test \
+ basic-types/bug787152.vala \
chainup/class-base.vala \
chainup/class-base-foo.vala \
chainup/class-object.vala \
--- /dev/null
+void main () {
+ int test[6] = { 23, 4711, 42 };
+ assert (test[4] == 0);
+ assert (test[5] == 0);
+ int test2[6] = test;
+ assert (test2[4] == 0);
+ assert (test2[5] == 0);
+}