pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2005-09-14
2005-09-14 17:49:31 by Marcus Comstedt <marcus@mc.pp.se>
274c86eb174a668e3f5a8956af948b16ba044091 (
13
lines) (+
12
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added checks to see if ``+ is properly applied.
Rev: src/testsuite.in:1.757
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
756
2005/
07
/
13
18
:
16
:
29
grubba
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
757
2005/
09
/
14
17
:
49
:
31
marcus
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
8658:
test_equal(`+((<1,2,3,4>),(<4,5,6>)),(<1,2,3,4,4,5,6>)) test_equal(`+(([0:1,3:6]),([5:2,3:6])),([0:1,3:6,3:6,5:2]))
+
test_equal(17+class{mixed ``+(mixed n){return (<n>);}}(),(<17>))
+
cond([[ sizeof( cpp("__AUTO_BIGNUM__")/"__AUTO_BIGNUM__" ) == 1 ]],
+
[[
+
test_equal(1700000000000000000000+class{mixed ``+(mixed n){return (<n>);}}(),(<1700000000000000000000>))
+
cond( [[ master()->resolv("Gmp")->mpz ]],
+
[[
+
test_eval_error(Gmp.mpz(1700000000000000000000)+class{mixed ``+(mixed n){return (<n>);}}())
+
]])
+
]])
+
// - `- // - `-> // - `->=