diff options
Diffstat (limited to 'tests/errors/posonly2.pyx')
-rw-r--r-- | tests/errors/posonly2.pyx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/errors/posonly2.pyx b/tests/errors/posonly2.pyx new file mode 100644 index 000000000..dab079047 --- /dev/null +++ b/tests/errors/posonly2.pyx @@ -0,0 +1,9 @@ +# mode: error +# tag: posonly + +def f(a, b/2, c): + pass + +_ERRORS = u""" +4:11: Syntax error in Python function argument list +""" |