codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / basic-types / bug591552.vala
blobe51a48cbe228717ee0e6fe3ef930ae6c9c505bf1
1 void main () {
2 int a = 1, b = 2;
3 int? c = 3, d = 4;
4 bool? test = null;
6 a = 1; b = 2;
7 c = 3; d = 4;
8 test = false;
10 a = a + b;
11 a = b - c;
12 a = c & d;
13 c = a ^ b;
14 c = b | c;
15 c = c % d;
17 d %= c;
18 c |= a & d;
20 test = c in d;
21 test = b > d;
22 test = test || test;
23 test = b > c > d < a;
25 test = a == c;
26 test = c == d;