repo.or.cz
/
vala-lang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data
[vala-lang.git]
/
tests
/
objects
/
bug597155.vala
blob
c6a628301de1984ee505c4a60e9ff68cf83dda32
1
class
Foo
:
Object
{
2
public signal
void
bar
();
3
}
4
5
Foo
do_foo
() {
6
var
foo
=
new
Foo
();
7
foo
.
bar
.
connect
(() => {
8
assert
(
foo is Foo
);
9
});
10
return
foo
;
11
}
12
13
void
main
() {
14
var
foo
=
do_foo
();
15
foo
.
bar
();
16
}