Branch: Tag:

2000-02-06

2000-02-06 23:31:13 by Martin Stjernholm <mast@lysator.liu.se>

Test that __INIT() uses static binding to set variables.

Rev: src/testsuite.in:1.271

1:   dnl -*- Pike -*- - test_true([["$Id: testsuite.in,v 1.270 2000/02/06 02:27:45 hubbe Exp $"]]); + test_true([["$Id: testsuite.in,v 1.271 2000/02/06 23:31:13 mast Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
446:      ]])    + test_do([[ +  class A { +  int i = 17; +  }; +  class B { +  inherit A; +  constant i = 5; +  }; +  B(); + ]])    -  +    test_any([[    class A {};    class B { inherit A; };