blob: 39ace0a135ce1ffaf9ef4a426f5f447b2acdedf4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# mode: error
# tag: cpp, cpp11
cdef foo(object& x): pass
cdef bar(object&& x): pass
_ERRORS="""
4:15: Reference base type cannot be a Python object
5:15: Rvalue-reference base type cannot be a Python object
"""
|