rem: reportCompare(expect, actual, summary); 
context: function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);    var f;  // - --  expect =     'function () {\n' +    '    return - --x;\n' +    '}';  try  {    f = eval('function () { return - --x; }');    actual = f + '';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  // - -  expect =     'function () {\n' +    '    return - - x;\n' +    '}';  try  {    f = eval('function () { return - - x; }');    actual = f + '';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  // ---  expect = 'SyntaxError';  try  {    f = eval('function () { return ---x; }');    actual = f + '';  }  catch(ex)  {    actual = ex.name;  }  reportCompare(expect, actual, summary);  // + ++  expect =     'function () {\n' +    '    return + ++x;\n' +    '}';  try  {    f = eval('function () { return + ++x; }');    actual = f + '';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  // + +  expect =     'function () {\n' +    '    return + + x;\n' +    '}';  try  {    f = eval('function () { return + + x; }');    actual = f + '';  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  // +++   expect = 'SyntaxError';  try  {    f = eval('function () { return +++x; }');    actual = f + '';  }  catch(ex)  {    actual = ex.name;  }  reportCompare(expect, actual, summary);  exitFunc ('test');}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ac63d10a3a55a989c8dd988fbd17fe42891502a9/regress-346904.js/buggy/js/tests/js1_5/Expressions/regress-346904.js