blob: 15fa4d5108d26e688e0890c8b4a20ef36947c16b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# tag: cpp
# mode: error
from libcpp.string cimport string
cdef foo():
cdef string field
if field: # field cannot be coerced to book
pass
_ERRORS = u"""
8:7: Type 'string' not acceptable as a boolean
"""
|