pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:1:   START_MARKER - test_true([["$Id: testsuite.in,v 1.751 2005/01/17 15:36:32 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.752 2005/02/18 13:54:04 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:359:      // las.c:find_return_type() checks.   test_eq([[    // Test case from Robert J. Budzynski <Robert.Budzynski@fuw.edu.pl>.    // When broken the return type will be mixed.    sprintf("%O", typeof(lambda(string s){    return Locale.Charset.decoder("utf-8")->feed(s)->drain();    }))   ]], [[ "function(string : string)" ]])    + // Test implicit lambda. + test_eq([[ +  `()(){ return 1; } + ]], 1) +    // Argument checking      // Test get_all_args.   test_eval_error([[    // A trick to get some svalues to freed refcounted stuff on the stack.    lambda (mixed a, mixed b, mixed c) {} (({time()}), ({time()}), ({time()}));    // set_weak_flag is chosen since it calls get_all_args with an    // argument spec that contains two arguments of different types.    ([function] set_weak_flag)();   ]])