e_cenum.pyx 145 Bytes
cdef enum Spam:
	a, b, c

cdef void f():
	global a
	a = 42      # assignment to non-lvalue

_ERRORS = u"""
6:3: Assignment to non-lvalue 'a'
"""