summaryrefslogtreecommitdiff
path: root/tests/errors/w_uninitialized_cpp.pyx
blob: a89c58da5d07d3da855bf06e405f772071569e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# cython: warn.maybe_uninitialized=True
# mode: error
# tag: cpp, werror, no-cpp-locals
# FIXME - no-cpp-locals should work

from cython.operator import typeid

def uninitialized_in_typeid():
    cdef int i
    print typeid(i) == typeid(i)

_ERRORS = """
"""