Branch: Tag:

2003-10-10

2003-10-10 01:20:14 by Martin Stjernholm <mast@lysator.liu.se>

Test a bug in the branch optimizer.

Rev: src/testsuite.in:1.685

1: - test_true([["$Id: testsuite.in,v 1.684 2003/10/05 13:25:34 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.685 2003/10/10 01:20:14 mast Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
162:    }   ]])    + test_compile_any([[ +  string foo (string a, string b, string c, string d, string e, string f, string g) +  { +  string out; +  if (a) +  out = "foo"; +  else +  out = "bar"; +  return out; +  } + ]])    -  +    dnl FIXME: Add test that local and local:: in combination   dnl with recursion works correctly.