pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2013-01-11
2013-01-11 14:56:59 by Arne Goedeke <el@laramies.com>
34e2788ee8bdc075c997b5698fe55d0b1bdcfd86 (
3
lines) (+
3
/-
0
)
[
Show
|
Annotate
]
Branch:
7.9
`%: add overflow checks
8374:
// testing overflow checks test_eq(-1 - 0x7fffffff, -0x80000000)
+
test_eq(Int.NATIVE_MIN % -1, 0)
+
test_eq(Int.NATIVE_MAX % Int.NATIVE_MIN, -1)
// testing indexing test_eq("foo"[0],'f')