Commit 0a363e25 authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent e6f48d7e
......@@ -8,3 +8,7 @@ cdef int wrong_exception_check(int x, int y) except 0
cdef int wrong_exception_value(int x, int y) except 0
cdef int wrong_exception_value_check(int x, int y) except 0
cdef int inherit_exception_value(int x, int y) except 0
cdef int inherit_exception_check(int x, int y) except *
......@@ -2,19 +2,25 @@
# tag: pxd
cdef int wrong_args(int x, int y):
return 0
return 2
cdef int wrong_return_type(int x, int y):
return 0
return 2
cdef int wrong_exception_check(int x, int y) except? 0:
return 0
return 2
cdef int wrong_exception_value(int x, int y) except 1:
return 0
return 2
cdef int wrong_exception_value_check(int x, int y) except? 1:
return 0
return 2
cdef int inherit_exception_value(int x, int y):
return 2
cdef int inherit_exception_check(int x, int y):
return 2
_ERRORS = """
......@@ -23,4 +29,6 @@ _ERRORS = """
10:5: Function signature does not match previous declaration
13:5: Function signature does not match previous declaration
16:5: Function signature does not match previous declaration
19:5: Function signature does not match previous declaration
22:5: Function signature does not match previous declaration
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment