pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-03-03
2000-03-03 01:31:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
6126476945d4a840e6e946a886eaafa31bf081f9 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix
Rev: src/language.yacc:1.166
Rev: src/testsuite.in:1.280
1:
dnl -*- Pike -*-
-
test_true([["$Id: testsuite.in,v 1.
279
2000/
02
/
29
03:
17
:
54
hubbe Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
280
2000/
03
/
03
01
:
31
:
13
hubbe Exp $"]]);
cond([[all_constants()->_verify_internals]], [[
535:
test_eq([[object_program(master())]],[[(program)"/master"]]) test_compile([[object("master") m = master();]])
+
test_any([[if(int x=1,y=2) return x;]],1)
test_any([[int x; x++; if(x) return x; return -1;]],1) test_any([[int x; if(x) return x; return -1;]],-1) test_any([[int x,y; if(x==y || x==1) return 2; return 0;]],2);