pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2001-07-01
2001-07-01 23:42:41 by Martin Stjernholm <mast@lysator.liu.se>
3fe44fe3536f7e7f216d8c13bbfc874c5142393c (
18
lines) (+
17
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added gc test with cycle between parent program and inherited program.
Rev: src/testsuite.in:1.432
1:
-
test_true([["$Id: testsuite.in,v 1.
431
2001/07/01
18
:
34
:
20
mast Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
432
2001/07/01
23
:
42
:
41
mast Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
2922:
if (all_constants()->my_little_error) error (all_constants()->my_little_error); }]]);
+
+
test_do([[{
+
object o = compile_string(#"
+
class Foo
+
{
+
int i;
+
class Bar
+
{
+
int j = i++; // Ensure parent pointer.
+
}
+
inherit Bar;
+
}")();
+
o = 0;
+
gc();
+
}]]);
]]) ifefun(gc,