pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
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)