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
/
bug622422.vala
blob
da761d499ece6de322aa7e86e0134a34cd2df3ef
1
struct
Foo
{
2
int
i
;
3
}
4
5
delegate
void
TestDelegate
();
6
7
void
do_foo
(
TestDelegate d
) {
8
}
9
10
void
do_foo_lambda
(
Foo foo
,
Value value
) {
11
do_foo
(() => {
foo
.
i
=
1
;
value
= (
int
)
2
; });
12
}
13
14
void
main
() {
15
}