summaryrefslogtreecommitdiff
path: root/tests/run/cpp_locals_directive_unused.pyx
blob: 429e64beb38ec4c03c0e6cadfb5d1c400f7869e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# mode: run
# tag: cpp, cpp17, no-cpp-locals
# no cpp_locals because this test is already run with cpp_locals explicitly set

# cython: cpp_locals=True

cdef cppclass C:
    C()

cdef class PyC:
    """
    >>> PyC() and None  # doesn't really do anything, but should run
    """
    cdef C  # this limited usage wasn't triggering the creation of utility code