pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-24
1999-11-24 18:52:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>
dc19e7369106cee4225cd1d98cb65316789cc4f0 (
11
lines) (+
10
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added a few more typeof() tests.
Rev: src/testsuite.in:1.238
1:
-
test_true([["$Id: testsuite.in,v 1.
237
1999/11/24 18:
17
:
25
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
238
1999/11/24 18:
52
:
46
grubba Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
72:
test_any([[function(:string)|function(int:int) f; return typeof(f(1)); ]], "int")
+
test_any([[function(:string)|function(mixed, mixed...:int) f;
+
return typeof(f()); ]],
+
"string")
+
+
test_any([[function(:string)|function(mixed, mixed ...:int) f;
+
return typeof(f(1)); ]],
+
"int")
+
test_any([[return class Z { string bonk() { return "oiff"; }