pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2008-05-08
2008-05-08 10:10:35 by Henrik Grubbström (Grubba) <grubba@grubba.org>
8a1fe1763ed267884236f63b41c25310fe57e768 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test of leaked type.
Rev: src/testsuite.in:1.810
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
809
2008/05/
07
15
:
12
:
36
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
810
2008/05/
08
10
:
10
:
35
grubba Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
798:
void y (void|string s) {x (s);} ]])
+
test_compile_warning([[
+
#pragma strict_types
+
// NB: This case used to leak the type function(:string).
+
string x (string s) {return s;}
+
void y (string|int s) {x (s);}
+
]])
+
cond( [[ master()->resolv("Pike")->Security ]],[[ test_any( [[ // bug [2830] ------------------------------------------------------------