pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:999:    int x = 0;    error("whee!\n");   #line 11 "whee-after"    string q = "wq";    q += "21";    return sizeof(q + w);    };   #line 16 "test"    mixed err = catch { whee("foo"); };    return ({ err[1][-1][0], err[1][-1][1] }); - ]], ({ "whee-before", 8 })) + ]], ({ "whee-before", 9 }))      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;   ]], 1)