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
/
basic-types
/
bug591552.vala
blob
e51a48cbe228717ee0e6fe3ef930ae6c9c505bf1
1
void
main
() {
2
int
a
=
1
,
b
=
2
;
3
int
? c
=
3
,
d
=
4
;
4
bool
? test
=
null
;
5
6
a
=
1
;
b
=
2
;
7
c
=
3
;
d
=
4
;
8
test
=
false
;
9
10
a
=
a
+
b
;
11
a
=
b
-
c
;
12
a
=
c
&
d
;
13
c
=
a ^ b
;
14
c
=
b
|
c
;
15
c
=
c
%
d
;
16
17
d
%=
c
;
18
c
|=
a
&
d
;
19
20
test
=
c
in
d
;
21
test
=
b
>
d
;
22
test
=
test
||
test
;
23
test
=
b
>
c
>
d
<
a
;
24
25
test
=
a
==
c
;
26
test
=
c
==
d
;
27
}