summaryrefslogtreecommitdiff
path: root/tests/errors/e_addop.pyx
blob: e8b5aa14b175717e610bce122be4c9498b451f92 (plain)
1
2
3
4
5
6
7
8
9
10
# mode: error

def f():
	cdef int int1, int3
	cdef int *ptr1, *ptr2, *ptr3
	ptr1 = ptr2 + ptr3 # error

_ERRORS = u"""
4:13: Invalid operand types for '+' (int *; int *)
"""