pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-06-02
1999-06-02 18:59:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>
8784d339aaaaccca6a008453c3bcf5bab16e4f20 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test for obscure optimizer "feature".
Rev: src/testsuite.in:1.173
1:
-
stest_true([["$Id: testsuite.in,v 1.
172
1999/06/
01
11
:
34
:
40
mirar
Exp $"]])
+
stest_true([["$Id: testsuite.in,v 1.
173
1999/06/
02
18
:
59
:
38
grubba
Exp $"]])
cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
3148:
test_eq(zero_type(0),0) test_eq(zero_type(([])[7]),1)
+
test_true([[lambda (int|void a) { return zero_type(a); }()]])
+
test_program(int b=10; mixed a() { return 1; }) test_program(mixed b=10; mixed a() { return 1;}) test_define_program(test,[[int q,w,e,r,t; mixed foo() { return 10; }]])