pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2002-09-15
2002-09-15 22:42:16 by Marcus Comstedt <marcus@mc.pp.se>
74d75d30bd75ed2fcec9cf6b933cf97740a4fc09 (
12
lines) (+
10
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Require ; after implicit lambda.
Rev: src/language.yacc:1.293
Rev: src/testsuite.in:1.536
1:
-
test_true([["$Id: testsuite.in,v 1.
535
2002/09/
07
01
:
03
:
19
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
536
2002/09/
15
22
:
42
:
16
marcus
Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
2673:
test_any([[ int x=1; void for10(function f) { for(int e=0;e<10;e++) f(); };
-
for10() { x++; }
+
for10() { x++; }
;
return x; ]], 11)
-
+
test_compile_error([[
+
int x=1;
+
void for10(function f) { for(int e=0;e<10;e++) f(); };
+
for10() { x++; }
+
return x;
+
]])
+
test_any([[ int x; for(int i=5; i < 10; i++) x++;