'Test the ".ctypes.data" attribute of an array can be passed
as a "void *" parameter.'

@tag('important')
def test_passing_array_ctypes_data(self):

    def pyfunc(arr):
        return c_take_array_ptr(arr.ctypes.data)
    cfunc = jit(nopython=True, nogil=True)(pyfunc)
    arr = np.arange(5)
    expected = pyfunc(arr)
    got = cfunc(arr)
    self.assertEqual(expected, got)
