From: Stefan Behnel Date: Sun, 3 Aug 2008 12:39:40 +0000 (+0200) Subject: new test case that is broken as of rev 908 X-Git-Tag: 0.9.8.1~95^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6df5a29f63bd26dc3b4f5b9d4e2c613c1ca77b03;p=cython.git new test case that is broken as of rev 908 --- diff --git a/tests/run/builtinnames.pyx b/tests/run/builtinnames.pyx new file mode 100644 index 00000000..ca41bbce --- /dev/null +++ b/tests/run/builtinnames.pyx @@ -0,0 +1,28 @@ +__doc__ = u""" +>>> test_c(u'abc') +fileabc +typeabc +>>> print test_file_py(u'abc') +abc +>>> print range(u'abc') +rangeabc +""" + + +def test_file_py(file): + return file + +cdef test_file_c(file): + return u'file' + file + + +def range(arg): + return u'range' + arg + +cdef type(arg): + return u'type' + arg + + +def test_c(arg): + print test_file_c(arg) + print type(arg)