Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * Any copyright is dedicated to the Public Domain.
4 * http://creativecommons.org/licenses/publicdomain/
5 * Contributor: Jason Orendorff
6 */
8 //-----------------------------------------------------------------------------
9 var BUGNUMBER = 452498;
10 var summary = 'TM: upvar2 regression tests';
11 var actual = '';
12 var expect = '';
15 //-----------------------------------------------------------------------------
16 test();
17 //-----------------------------------------------------------------------------
19 function test()
20 {
21 enterFunc ('test');
22 printBugNumber(BUGNUMBER);
23 printStatus (summary);
25 // ------- Comment #79 From Jason Orendorff
27 x; var x; function x() 0
29 // Assertion failure: !(pn->pn_dflags & flag), at ../jsparse.h:635
31 reportCompare(expect, actual, summary);
33 exitFunc ('test');
34 }