Branch: Tag:

2000-02-08

2000-02-08 04:20:35 by Martin Stjernholm <mast@lysator.liu.se>

Test for segfault when a constant is forward declared to a program and
is then used as a type.

Rev: src/testsuite.in:1.272

1:   dnl -*- Pike -*- - test_true([["$Id: testsuite.in,v 1.271 2000/02/06 23:31:13 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.272 2000/02/08 04:20:35 mast Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
723:    return zz->x + zz->y + zz->z;   ]], 7)    + test_do([[ +  class X { +  constant foo = Foo; +  class Foo {} +  void bar() +  { +  foo f = Foo(); +  } +  }; + ]]) +    test_any([[   class X {    static string f() { return "p"; }