pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.878 2009/08/15 19:13:05 mast Exp $"]]); + test_true([["$Id: testsuite.in,v 1.879 2009/08/18 19:31:10 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:765:      test_any_equal([[    // Test hiding of inherited symbols with protected.    class A {    local mixed a() {}    mixed b();    mixed c;    local mixed d;    extern mixed e;    local mixed f; +  local mixed g() {} +  mixed h();    this_program get_a() { return this_program::this; }    };    class B {    inherit A;    protected mixed a() {}    protected mixed b() {}    protected mixed c = a();    protected mixed d = b();    protected mixed e = a();    protected local mixed f = b(); -  +  protected mixed g(); +  protected mixed h();    this_program get_b() { return this_program::this; }    };    class C {    inherit B;    this_program get_c() { return this_program::this; }    };    class D {    inherit C;    this_program get_d() { return this_program::this; }    };    object(D) d = D();    return ({ "A", sort(indices(d->get_a())),    "B", sort(indices(d->get_b())),    "C", sort(indices(d->get_c())),    "D", sort(indices(d->get_d())) }); - ]], ({ "A", ({ "a", "b", "c", "d", "e", "f", "get_a" }), + ]], ({ "A", ({ "a", "b", "c", "d", "e", "f", "g", "h", "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_equal([[    // Test hiding of inherited symbols with private.    class A {    local mixed a() {}    mixed b();    mixed c;