pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-23
1999-11-23 04:19:46 by Martin Stjernholm <mast@lysator.liu.se>
62cda401c6ed1100d1409eec2f4cfca2c5f3a32b (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added some type check tests.
Rev: src/testsuite.in:1.232
1:
-
test_true([["$Id: testsuite.in,v 1.
231
1999/11/
22
23:
34
:
54
noring
Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
232
1999/11/
23
04
:
19
:
46
mast
Exp $"]])
cond([[all_constants()->_verify_internals]], [[
1663:
// type checks test_compile_error([[} int foo() { return]]); test_compile_error([[} void foo() { return 1]]);
+
test_compile([[mapping a; int b; a = b = 0;]]);
+
test_compile_error([[mapping a; int b; a = b = 1;]]);
// Not yet cataloged test_any(int i=10; { int i; } return i, 10)