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
/
bug656693.vala
blob
86d90e50837547f3c80f2eca7b6b9d27d1767966
1
struct
Foo
{
2
int
bar
;
3
}
4
5
void
baz
(
Foo foo
) {
6
foo
.
bar
=
3
;
7
}
8
9
void
main
() {
10
Foo? foo
=
Foo
();
11
baz
(
foo
);
12
assert
(
foo
.
bar
==
0
);
13
}