class AsyncTestClass : GLib.Object {
    public AsyncTestClass () {
        stdout.printf ("Constructing AsyncTestClass...\n");
        stdout.flush ();
    }
    ~AsyncTestClass () {
        stdout.printf ("Destroying AsyncTestClass...\n");
        stdout.flush ();
    }
    public async void do_something () {
        yield;
        return;
    }
}

int main () {
    var instance = new AsyncTestClass ();
    instance.do_something.begin ();
    yield;
    return 0;
}
