vapi: Update GIR-based bindings
[vala-gnome.git] / tests / asynchronous / bug777242.vala
blob2fe686de052c352f687da04bd0e54956cd3f0d4d
1 int i = 0;
3 async void run () {
4 while (true) {
5 string foo;
6 if (i == 0) {
7 foo = "foo";
8 i++;
9 } else {
10 break;
15 void main() {
16 var loop = new MainLoop ();
17 Idle.add (() => {
18 run.begin ();
19 loop.quit ();
20 return false;
21 });
22 loop.run ();