summaryrefslogtreecommitdiff
path: root/c/test_c.py
diff options
context:
space:
mode:
Diffstat (limited to 'c/test_c.py')
-rw-r--r--c/test_c.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/test_c.py b/c/test_c.py
index 6987f76..4aec6ae 100644
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -4361,3 +4361,5 @@ def test_int_doesnt_give_bool():
BBool = new_primitive_type("_Bool")
x = int(cast(BBool, 42))
assert type(x) is int and x == 1
+ x = long(cast(BBool, 42))
+ assert type(x) is long and x == 1