extended test case
authorStefan Behnel <scoder@users.berlios.de>
Thu, 29 Apr 2010 06:06:02 +0000 (08:06 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 29 Apr 2010 06:06:02 +0000 (08:06 +0200)
tests/run/consts.pyx

index 7f08317388039695a25e0f4625423995f5cd769a..2ae5c785b997fff09aca5df24855c615f1162d32 100644 (file)
@@ -98,3 +98,11 @@ def compile_time_DEF():
     (1, False, True, True, False)
     """
     return INT_VAL, INT_VAL == 0, INT_VAL != 0, INT_VAL == 1, INT_VAL != 1
+
+@cython.test_fail_if_path_exists("//PrimaryCmpNode")
+def cascaded_compare():
+    """
+    >>> cascaded_compare()
+    True
+    """
+    return 1 < 2 < 3 < 4