pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1: - test_true([["$Id: testsuite.in,v 1.721 2004/04/29 21:26:38 nilsson Exp $"]]); + test_true([["$Id: testsuite.in,v 1.722 2004/04/29 21:44:22 nilsson 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:153:    // Test that optimizer notes side effects in arguments to `!=    // Thanks to Marcus Agehall    int j = 20, i;    string end = "17";    for( ; i < j ; i++)    if(sscanf(end, "%d%s", j, end) != 2)    cd(".");    return i;   ]], 17)    + test_any([[ +  // Another over-optimization test. +  string x(string i) { return i; }; +  return x("")+1+1; + ]], "11") +    test_compile_any([[    void foo()    {    Stdio.File bar(int x, int y)    {    return 0;    };    }   ]])