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
Release 0.41.92
[vala-gnome.git]
/
tests
/
structs
/
bug661945.vala
blob
98ec4a9b2d4a1f1476fc464490b508da45e5455a
1
struct
Foo
{
2
int
a
;
3
int
b
;
4
}
5
6
void
main
() {
7
Variant a
=
Foo
() {
a
=
2
,
b
=
3
};
8
Foo b
= (
Foo
)
a
;
9
assert
(
b
.
a
==
2
);
10
assert
(
b
.
b
==
3
);
11
}