repo.or.cz
/
vala-gnome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
codegen: Fix floating reference regression with Variants
[vala-gnome.git]
/
tests
/
nullability
/
bug611223.vala
blob
9fbf30c07101dc2c47c175939ae4c89659247e3c
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
;
7
}