pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:05 by Arne Goedeke <el@laramies.com>
4c86e39dab9e7f986d7ca330f30426bf71e1df11 (
3
lines) (+
3
/-
0
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
`%: 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')