codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / basic-types / bug596637.vala
blob904de17ff46421ff604fa15069302e952a57056d
1 void main () {
2 int[] a = new int[1];
3 a[0]++;
4 assert (a[0] == 1);