pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-06-06
2003-06-06 21:01:30 by Marcus Comstedt <marcus@mc.pp.se>
9669c184991723f709e91429aa99324e4381979e (
25
lines) (+
24
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Test for segfault on IA32.
Rev: src/testsuite.in:1.658
1:
-
test_true([["$Id: testsuite.in,v 1.
657
2003/06/
05
12
:
50:
01
grubba
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
658
2003/06/
06
21
:
01
:
30
marcus
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
2402:
]])
+
test_program([[
+
class A
+
{
+
constant x = 1.0;
+
}
+
+
class B
+
{
+
inherit A;
+
class C
+
{
+
constant y = x+2.0;
+
}
+
}
+
+
mixed a()
+
{
+
return 3.0 == B()->C()->y;
+
}
+
]])
+
+
dnl Come back when we decide that this should be possible dnl test_do([[ dnl class A {