pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:13750:   test_any_equal([[    class A {    object true = Val.true;    object false = Val.false;    object null = Val.null;    };    object a = A();    return map(values(a), objectp);   ]], ({ 1, 1, 1 }))    + test_do([[ +  class A(object ctx) { +  this_program get(void|int level) { +  this_program ret = this; +  +  for (int i = 0; i < level; i++) ret = (ret && ret->ctx); +  +  return ret || this; +  } +  }; +  +  return A(0)->get(UNDEFINED); + ]]) +    END_MARKER