Branch: Tag:

2002-05-12

2002-05-12 00:29:32 by Martin Stjernholm <mast@lysator.liu.se>

Added a slightly generalized version of the test for [bug 3006 (#3006)], which
shows that the current approach would require an arbitrary amount of
passes to fix these cases.

Rev: src/testsuite.in:1.515

1: - test_true([["$Id: testsuite.in,v 1.514 2002/05/11 21:29:58 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.515 2002/05/12 00:29:32 mast Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
2477:    };   ]])    + test_do([[ +  // bug 3006, generalized version +  class X { +  constant a = b; +  constant b = c; +  constant c = d; +  constant d = Foo; +  class Foo {} +  void bar() +  { +  foo f = Foo(); +  } +  }; + ]]) +    test_any([[   class X {    static string f() { return "p"; }