diff options
Diffstat (limited to 'tests/errors/unicode_identifiers_e4.pyx')
-rw-r--r-- | tests/errors/unicode_identifiers_e4.pyx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/errors/unicode_identifiers_e4.pyx b/tests/errors/unicode_identifiers_e4.pyx new file mode 100644 index 000000000..035eff2c9 --- /dev/null +++ b/tests/errors/unicode_identifiers_e4.pyx @@ -0,0 +1,13 @@ +# -*- coding: utf-8 -*- +# mode: error + +cdef class C: + # these two symbols "\u1e69" and "\u1e9b\u0323" normalize to the same thing + # so the two attributes can't coexist + cdef int ṩomething + cdef double ẛ̣omething + +_ERRORS = u""" +7:13: Previous declaration is here +8:16: 'ṩomething' redeclared +""" |