pike.git / src / testsuite.in

version» Context lines:

pike.git/src/testsuite.in:3226:       int bar ()    {    return (this->gazonk == "foo") ? 1 : 0;    }    };       return Test()->bar;   ]], 0)    + test_compile_error([[ +  class { +  int a() { } +  void b() { return a(); } +  } + ]]) +  + test_do([[ +  class { +  void a() { } +  void b() { return a(); } +  } + ]]) +    test_any([[string gurk="bozo"; string b(int x) { return (x?b(x-1)+gurk:""); }; return b(5)]],[["bozo"*5]])      dnl this should really work...   dnl test_compile_any([[void foo(int,string,...);]])      dnl This test doesn't run out of stack anymore, freaky   dnl test_eval_error([[class X { int create() { create(); } }();]])   test_compile_error([[ int float; ]])   test_compile_error([[ int array; ]])   test_compile_error([[ int function; ]])