pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:57 by Martin Nilsson <nilsson@opera.com>
9673a92c5c1d2ec5039f1abaf39c413e1f1613c0 (
11
lines) (+
6
/-
5
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
Expand the __INIT test a bit.
4008:
// Testing __INIT test_any([[
-
class X { int x = 1; int zz = 1;};
-
class Y { int y = 2; };
-
class Z { inherit X; inherit Y; int z = 4; int zz = 0; };
+
class X { int x = 1; int zz = 1;
int zzz=8; int xx=8;
};
+
class Y { int y = 2;
int xx;
};
+
class Z { inherit X; inherit Y; int z = 4; int zz = 0;
int zzz;
};
object zz = Z();
-
return zz->x + zz->y + zz->z + zz->zz;
-
]],
7
)
+
return zz->x + zz->y + zz->z + zz->zz
+ zz->zzz + zz->xx
;
+
]],
15
)
test_any([[ // Test __INIT with forward references to programs needing their parents.