blob: e19523f2ced3fff274db5eb3e332d90307fd1726 [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;
}
Future<void> foo3() async {
await for (final x in Stream.empty()) {
break;
}
}
void main() {
foo1();
foo2();
foo3();
}