pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-01
1999-11-01 14:28:32 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
94b524443e27e40ab6e60e711aebcb6033b56c99 (
16
lines) (+
14
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
added some bignum tests
Rev: src/testsuite.in:1.219
1:
-
test_true([["$Id: testsuite.in,v 1.
218
1999/11/01
13
:
43
:
09
mirar Exp $"]])
+
test_true([["$Id: testsuite.in,v 1.
219
1999/11/01
14
:
28
:
32
mirar Exp $"]])
cond([[all_constants()->_verify_internals]], [[
34:
test_eval_error([[mixed x; return mkmapping(x,x)]])
+
test_any([[int a=2147483648; a=a+17; return 1]], 1)
+
test_any([[int a=2147483648; a=a-17; return 1]], 1)
+
test_any([[int a=2147483648; a=a*17; return 1]], 1)
+
test_any([[int a=2147483648; a=a/17; return 1]], 1)
+
test_any([[int a=2147483648; a=a%17; return 1]], 1)
+
test_any([[int a=2147483648; a=a^17; return 1]], 1)
+
test_any([[int a=2147483648; a=a&17; return 1]], 1)
+
test_any([[int a=2147483648; a=a|17; return 1]], 1)
+
test_any([[int a=2147483648; a=a<<17; return 1]], 1)
+
test_any([[int a=2147483648; a=a>>17; return 1]], 1)
+
test_any([[return class Z { string bonk() { return "oiff"; }
120:
inherit Foo; } ]])
-
tes
_compile_any([[
+
test
_compile_any([[
class Bar { int f() {return 17;}