diff options
Diffstat (limited to 'tests/errors/posonly3.pyx')
-rw-r--r-- | tests/errors/posonly3.pyx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/errors/posonly3.pyx b/tests/errors/posonly3.pyx new file mode 100644 index 000000000..4b4f0db75 --- /dev/null +++ b/tests/errors/posonly3.pyx @@ -0,0 +1,13 @@ +# mode: error +# tag: posonly + +def f(*args, /): + pass + +def f(*args, a, /): + pass + + +_ERRORS = u""" +4:13: Expected ')', found '/' +""" |