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
/
objects
/
bug681356.vala
blob
326dedba802b129d3ddc6ed0ab6d49622ef0254d
1
public class
Foo
:
GLib
.
Object
{
2
[
HasEmitter
]
3
public signal
int
bar
(
int
i
);
4
}
5
6
void
main
() {
7
var
f
=
new
Foo
();
8
9
f
.
bar
.
connect
(
i
=>
i
+
12
);
10
11
var
res
=
f
.
bar
(
30
);
12
assert
(
res
==
42
);
13
}