1# mode: run
2# tag: werror
3# ticket: 714
4
5def test_ptr():
6    """
7    >>> test_ptr()
8    123
9    """
10    cdef int a
11    cdef int *ptr
12
13    ptr = &a
14    ptr[0] = 123
15    return a
16