pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.873 2009/06/24 19:07:04 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.874 2009/06/24 20:23:43 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:838:    "D", sort(indices(d->get_d())) });   ]], ({ "A", ({ "a", "b", "c", "d", "e", "f", "get_a" }),    "B", ({ "get_a", "get_b" }),    "C", ({ "get_a", "get_b", "get_c" }),    "D", ({ "get_a", "get_b", "get_c", "get_d" }) }))      test_any([[    // Test that backtraces with prototypes are rendered correctly by    // describe_backtrace() et al. These backtraces have caused both    // "Bad offset" and "Identifier reference index out of range". -  class A { void foo(); } -  class B { int gazonk; inherit A; void bar() { foo(); } } +  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 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;