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 = 346749;
10 var summary = 'let declarations at function level should turn into var declarations';
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
22 printBugNumber(BUGNUMBER);
23 printStatus (summary);
25 expect = 'function () { var k; }';
26 var f = (function () { let k; });
28 compareSource(expect, actual, summary);