blob: 6ea7efceacf0841bf82cd499e4724970b98e5db7 [file] [log] [blame]
import 'dart:async';
class A {
var x;
A(this.x);
}
f() async => 42;
g() async => true;
h() async => new A(0);
main() async {
print(!await g());
print(-await f() + 1);
print(~await f() + 1);
print(++(await h()).x);
print(--(await h()).x);
}