Branch: Tag:

2001-02-25

2001-02-25 17:42:50 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for constants

Rev: src/docode.c:1.108
Rev: src/docode.h:1.12
Rev: src/operators.c:1.127
Rev: src/testsuite.in:1.388

1: - test_true([["$Id: testsuite.in,v 1.387 2001/02/21 16:29:23 mirar Exp $"]]); + test_true([["$Id: testsuite.in,v 1.388 2001/02/25 17:42:50 hubbe Exp $"]]);      cond([[all_constants()->_verify_internals]],   [[
53:    foo (1);   ]])    + test_any([[ +  array tmp=({}); +  tmp=({([])})+tmp; +  tmp->foo=7; +  tmp=({([])})+tmp; +  return sizeof(tmp[0]); + ]], 0) +  +    test_any([[int a=0xffffffff; return a+17]], 0x100000010);   test_any([[int a=0xffffffff; return a-17]], 0xffffffee);   test_any([[int a=0xffffffff; return a*17]], 0x10ffffffef);