pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-02-04
2000-02-04 20:16:18 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
1f342fdc4e64345d4773267f314cb4d2a4d7a0a0 (
16
lines) (+
15
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
another mapping bug bites the dust
Rev: src/mapping.c:1.61
Rev: src/testsuite.in:1.267
1:
-
test_true([["$Id: testsuite.in,v 1.
266
2000/02/04
00
:
50
:
59
hubbe Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
267
2000/02/04
20
:
16
:
18
hubbe Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
1561:
gc(); return !sizeof (m); ]])
+
+
test_any([[
+
mapping m=([]);
+
m->self=m;
+
+
mapping q=(["foo":"bar","gazonk":1]);
+
m->q=q;
+
+
q+=([]);
+
m=0;
+
gc();
+
return sizeof(q);
+
]],2)
]]) cond([[ sizeof( cpp("__AUTO_BIGNUM__")/"__AUTO_BIGNUM__" ) == 1 ]],