Branch: Tag:

2001-01-16

2001-01-16 09:36:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

test and fix for duplicate constant bug

Rev: src/language.yacc:1.222
Rev: src/testsuite.in:1.371

1: - test_true([["$Id: testsuite.in,v 1.370 2001/01/15 18:53:24 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.371 2001/01/16 09:36:31 hubbe Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
157:   ]])      test_compile_any([[ +  class { void a() { constant c = 17; } +  void b() { constant c = 17; } } + ]]) +  + test_compile_any([[    constant FOO = 0;    mapping(int:string) foo = ([FOO: "foo"]);   ]])