From: Carl Witty Date: Tue, 27 Jul 2010 23:35:46 +0000 (-0700) Subject: trac #562: test case for segmentation fault X-Git-Tag: 0.13.beta1~11 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cd578c57768addb780c6d996b591b7c79babf91c;p=cython.git trac #562: test case for segmentation fault --- diff --git a/tests/run/ipow_crash_T562.pyx b/tests/run/ipow_crash_T562.pyx new file mode 100644 index 00000000..f231322f --- /dev/null +++ b/tests/run/ipow_crash_T562.pyx @@ -0,0 +1,6 @@ +cdef class CrashIPOW: + """ + >>> CrashIPOW().__ipow__('a') + """ + def __ipow__(self, other, mod): + print "%s, %s" % (other, mod)