Release 0.41.92
[vala-gnome.git] / tests / asynchronous / bug793158.vala
blob445092b9eaa5c2c92a1ac5d064fca440c24e7b8b
1 errordomain FooError {
2 BAR;
5 class Foo : Object {
6 public async bool bar () throws FooError {
7 return true;
11 MainLoop loop;
13 void main () {
14 loop = new MainLoop ();
15 var foo = new Foo ();
16 foo.bar.begin ((o, r) => {
17 loop.quit ();
18 });
19 loop.run ();