blob: bbef65494f59cf59543b8542ab0839e9e2084ca7 [file] [log] [blame]
// Contains await with no return.
Future<void> foo1() async {
await 6;
}
// Await is not direct child of return.
Future<int> foo2() async {
return (await 6) + 3;
}
void main() {
foo1();
foo2();
}