Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
196cb6dd
Commit
196cb6dd
authored
Oct 20, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extended test case
parent
d3e89c97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
tests/errors/e_cmp.pyx
tests/errors/e_cmp.pyx
+8
-2
No files found.
tests/errors/e_cmp.pyx
View file @
196cb6dd
...
@@ -2,9 +2,15 @@ cdef void foo():
...
@@ -2,9 +2,15 @@ cdef void foo():
cdef
int
bool
,
int1
cdef
int
bool
,
int1
cdef
char
*
ptr2
cdef
char
*
ptr2
cdef
int
*
ptr3
cdef
int
*
ptr3
cdef
object
i
=
5
bool
=
i
==
ptr2
# evaluated in Python space
bool
=
ptr3
==
i
# error
bool
=
int1
==
ptr2
# error
bool
=
int1
==
ptr2
# error
bool
=
ptr2
==
ptr3
# error
bool
=
ptr2
==
ptr3
# error
_ERRORS
=
u"""
_ERRORS
=
u"""
5:13: Invalid types for '==' (int, char *)
8:13: Invalid types for '==' (int *, Python object)
6:13: Invalid types for '==' (char *, int *)
9:13: Invalid types for '==' (int, char *)
10:13: Invalid types for '==' (char *, int *)
"""
"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment