summaryrefslogtreecommitdiff
path: root/testsuite/python310.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/python310.py')
-rw-r--r--testsuite/python310.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/python310.py b/testsuite/python310.py
new file mode 100644
index 0000000..83b7bb4
--- /dev/null
+++ b/testsuite/python310.py
@@ -0,0 +1,9 @@
+#: Okay
+var, var2 = 1, 2
+match (var, var2):
+ case [2, 3]:
+ pass
+ case (1, 2):
+ pass
+ case _:
+ print("Default")