pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.839 2008/07/11 13:54:23 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.840 2008/07/17 11:05:27 grubba Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])   test_compile_any([[#pike 7.4]])   test_compile_any([[#pike 7.0]])   test_compile_any([[#pike 0.6]])      cond([[all_constants()->_verify_internals]],   [[    test_do(_verify_internals())
pike.git/src/testsuite.in:164:    };       class Y { inherit X;    int Ack(int M, int N) { return ::Ack(M, N); }    };       return Y()->Ack(2,2);   ]],7)      test_any([[ +  // Test that F_RECUR et al are not used for inlined functions +  // where the scope is in use. +  class X { +  inline function(int:int) foo(int x, int y) +  { +  if (y) return foo(x+y, y-1); +  return lambda(int z) { return x+z; }; +  } +  }; +  return X()->foo(10, 3)(5); + ]], 21) +  + test_any([[    // Test that loop optimizer isn't too aggressive.    // Thanks to Alexander Demenshin <aldem-pike@aldem.net>    int x,y,a;    for(;x<10000;x++) {    y += (x - a++);    }    return a;   ]], 10000)      test_any([[