pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-03-04
1999-03-04 21:40:17 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
686df7504502b6afe516d8f21b1e0caf2105bf66 (
14
lines) (+
13
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
now tests ::`
[]
=
Rev: src/testsuite.in:1.154
1:
-
stest_true([["$Id: testsuite.in,v 1.
153
1999/03/04
06
:
05
:
14
hubbe Exp $"]])
+
stest_true([["$Id: testsuite.in,v 1.
154
1999/03/04
21
:
40
:
17
hubbe Exp $"]])
cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
190:
return class { int i=17; mixed `[](string foo) { return ::`[]; }}()[""]("y") ]],0)
+
test_any([[
+
object o=class {
+
int i=17;
+
mixed `[](string foo) { return ::`[]=; }
+
mixed `[]=(string ind, mixed foo) {}
+
}();
+
+
o[""]("i",99);
+
return o->i;
+
]],99)
+
test_compile_any([[ class X { void hej() {} } class Y { inherit X:banan; void hopp() { banan::hej(); } }