1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 * Any copyright is dedicated to the Public Domain.
4 * http://creativecommons.org/licenses/publicdomain/
5 * Contributor: Blake Kaplan
8 //-----------------------------------------------------------------------------
9 var BUGNUMBER = 470758;
10 var summary = 'Do not crash with eval upvars';
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
22 printBugNumber(BUGNUMBER);
23 printStatus (summary);
25 (function() { var k; eval("for (var k in {});") })()
27 reportCompare(expect, actual, summary);