summaryrefslogtreecommitdiff
path: root/Lib/test/badsyntax_async2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/badsyntax_async2.py')
-rw-r--r--Lib/test/badsyntax_async2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/badsyntax_async2.py b/Lib/test/badsyntax_async2.py
new file mode 100644
index 0000000000..fb85e29052
--- /dev/null
+++ b/Lib/test/badsyntax_async2.py
@@ -0,0 +1,2 @@
+async def foo(a=await something()):
+ pass