pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-09-15
2003-09-15 20:36:59 by Martin Stjernholm <mast@lysator.liu.se>
47ad179e8b31852cbddf03f1de05d22a7f82ce61 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Test an (apparent) overoptimization bug in catch.
Rev: src/testsuite.in:1.677
1:
-
test_true([["$Id: testsuite.in,v 1.
676
2003/09/
10
09
:
44
:
16
grubba
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
677
2003/09/
15
20
:
36
:
59
mast
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
9753:
// - catch test_false([[class X { string test(string foo) { catch { return lower_case(foo); }; return foo; }}()->test(0); ]])
+
test_true([[catch (1.0 / 0.0)]])
+
test_true([[catch {1.0 / 0.0;}]])
// Pike modules