pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:957:    class A { void foo(); };    class B { int gazonk; inherit A; void bar() { foo(); } };    return sizeof(describe_backtrace(catch { B()->bar(); })) > 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 sizeof(describe_backtrace(catch { -  Builtin.__Backtrace_Test__(); +  Builtin.__Backtrace_Tester__();    })) > 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_Test__(); }[2][-1][2]; - ]], "__EVENT_HANDLER__") +  return catch { Builtin.__Backtrace_Tester__(); }[1][-1][2]; + ]], Builtin.__Backtrace_Tester__)      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)