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

def f():
	cdef char *str1
	cdef float flt1, flt2, flt3
	flt1 = str1 ** flt3 # error
	flt1 = flt2 ** str1 # error

_ERRORS = u"""
6:13: Invalid operand types for '**' (char *; float)
7:13: Invalid operand types for '**' (float; char *)
"""