#412 testcase
authorDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Thu, 15 Oct 2009 08:01:27 +0000 (10:01 +0200)
committerDag Sverre Seljebotn <dagss@student.matnat.uio.no>
Thu, 15 Oct 2009 08:01:27 +0000 (10:01 +0200)
tests/run/charcomparisonT412.pyx [new file with mode: 0644]

diff --git a/tests/run/charcomparisonT412.pyx b/tests/run/charcomparisonT412.pyx
new file mode 100644 (file)
index 0000000..ece80a9
--- /dev/null
@@ -0,0 +1,11 @@
+def f():
+    """
+    >>> f()
+    True
+    True
+    """
+
+    cdef char a
+    a = 62
+    print (a == '>')
+    print (a == <char>'>')