6 cdef object[fakeoption=True] buf1
7 cdef object[int, -1] buf1b
8 cdef object[ndim=-1] buf2
9 cdef object[int, 'a'] buf3
10 cdef object[int,2,3,4,5,6] buf4
13 1:11: Buffer types only allowed as function local variables
14 3:15: Buffer types only allowed as function local variables
15 6:27: "fakeoption" is not a buffer option
16 7:22: "ndim" must be non-negative
18 9:21: "ndim" must be an integer
19 10:15: Too many buffer options