1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/tests/ecma_5/strict/regress-532041.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 + 1.6 +/* 1.7 + * Any copyright is dedicated to the Public Domain. 1.8 + * http://creativecommons.org/licenses/publicdomain/ 1.9 + */ 1.10 + 1.11 + 1.12 +/* 1.13 + * JSFunction::findDuplicateFormal (nee js_FindDuplicateFormal), used 1.14 + * by strict checks, sometimes failed to choose the correct branch of 1.15 + * the fun->u.i.names union: it used the argument count, not the 1.16 + * overall name count. 1.17 + */ 1.18 +function f(a1,a2,a3,a4,a5) { "use strict"; var v1, v2, v3, v4, v5, v6, v7; } 1.19 + 1.20 +reportCompare(true, true);