pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.887 2010/01/21 14:38:31 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.888 2010/01/21 16:14:47 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:2803:    }    }    };    class Y {    inherit X.X;    };    return Y()->foo;   ]], "middle")      test_any([[ -  // Test symbol lookup in multi-pass. +  // 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";    };       string to_compile=#"    constant fum = \"gazonk\";       class B()    {    inherit A; -  string fi() +  int fi()    {    return fum?1:0;    }    }    ";       add_constant("A",A);    compile_string(to_compile);    add_constant("A");    return 0;