pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-10-31
1999-10-31 14:59:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
a105d7f9bbd0f1a81e0b218797b6ae3cd40db788 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Made the += test optimizer-proof.
Rev: src/testsuite.in:1.217
1:
-
test_true([["$Id: testsuite.in,v 1.
216
1999/10/31 14:
58
:
27
grubba Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
217
1999/10/31 14:
59
:
37
grubba Exp $"]])
cond([[all_constants()->_verify_internals]], [[
1407:
test_false([[ objectp((-0x80000001) + 1) ]]) // - Add-eq.
-
test_eq([[
lambda() { int a=0x100000000; int b = a; a += 1; return
b
; }()
]],
-
[[
0x100000000
]])
+
test_eq([[lambda() { int a=0x100000000; int b = a; a += 1; return
b+a
; }()]],
+
[[
0x200000001
]])
// - Sub. test_eq("-2147483648", [[ (string)(-0x7fffffff - 1) ]])