pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-03-21
2003-03-21 13:02:59 by Johan Sundström <oyasumi@gmail.com>
f88fda7bd356863ec5452b8b56b91e83d7366b6d (
14
lines) (+
13
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Test for regression of the bug Marcus Agehall reported yesterday.
Rev: src/testsuite.in:1.623
1:
-
test_true([["$Id: testsuite.in,v 1.
622
2003/03/
20
16
:
33
:
07
mast
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
623
2003/03/
21
13
:
02
:
59
jhs
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
138:
return 0; ]], 0)
+
test_any([[
+
// Test that optimizer notes side effects in arguments to `!=
+
// Thanks to Marcus Agehall
+
int j = 20, i;
+
string end = "17";
+
for( ; i < j ; i++)
+
if(sscanf(end, "%d%s", j, end) != 2)
+
cd(".");
+
return i;
+
]], 17)
+
test_compile_any([[ void foo() {