blob: 3d544c33b01110dadf83405618498795917e7466 [file]
async def foo(x):
await x
yield x
<error descr="Python does not support 'yield from' inside async functions">yield from x</error>
<error descr="non-empty 'return' inside asynchronous generator">return x</error>