pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.821 2008/05/24 16:46:57 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.822 2008/05/24 17:25:18 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:586:   test_compile_error([[ int b=17; float c=42.0; b*=c; ]])   test_compile_error([[ int b=17; float c=42.0; b=b+c; ]])   test_compile_error([[ int b=17; float c=42.0; b+=c; ]])   test_compile_error([[ int b=17; float c=42.0; b=b-c; ]])   test_compile_error([[ int b=17; float c=42.0; b-=c; ]])   test_compile_error([[ float b=17.0; string a; a=b*42; ]])   test_compile_error([[ float b=17.0; string a; a=b*42.0; ]])      test_compile_error([[class F {inherit master()->dirnode;};]]);    + ignore_warning("Wrong return type.", [[ + ignore_warning("Expected: string.", [[ + ignore_warning("Got : array(string).", [[   test_program_equal([[   #pike 7.6    string a()    {    string|array(string) res = ({"spud"});    return res + ({});    }   ]], ({"spud"})) -  + ]])]])]])      // Warnings      test_compile_warning([[ int *a ]])   test_compile_warning([[ int|float *a ]])   test_compile_warning([[ [mixed]1 ]])   test_compile_warning([[    class A { int a = 6; };    class B {    constant a = 5;