pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:990:    })) > 0;   ]], 1)      test_any([[    // Test that backtraces with event handlers are rendered correctly.    // These backtraces have caused SEGV's due to function pointers    // out of bounds. cf [bug 6156].    return catch { Builtin.__Backtrace_Tester__(); }[1][-1][2];   ]], Builtin.__Backtrace_Tester__)    + test_compile_warning([[ +  class A { static int foo = 1; int bar() { return foo; } } + ]]) +    test_any([[    // Test multiple inherit of same symbol,    // where later symbol is protected.    class A { constant foo = 1; };    class B { constant foo = 2; };    class C { inherit A; protected inherit B; };    return C()->foo;   ]], 1)      test_any([[
pike.git/src/testsuite.in:2954:      test_any([[    // Test external symbol lookup in las.c:eval_low_safe_and_stupid().    // LysLysKOM 18285732    // An old pike will fail with the fatal    // "Identifier out of range, loc->parent_identifer=-1!"    // during __INIT().       class A    { -  static string foo = "bar"; +  protected string foo = "bar";    };       string to_compile=#"    constant fum = \"gazonk\";       class B()    {    inherit A;    int fi()    {