codegen: Fix floating reference regression with Variants
[vala-gnome.git] / tests / nullability / bug611223.vala
blob9fbf30c07101dc2c47c175939ae4c89659247e3c
1 void main() {
2 string? nullable = null;
3 string non_null = nullable ?? "";
4 string? some_null = nullable ?? null;
5 string also_non_null = null ?? non_null;
6 string really_non_null = non_null ?? nullable;