summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/extensions/regress-591450.js
blob: f1ebcf67585d05a1d60a33dc08e5e70ebfbf47b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

/*
 * This was causing the parser to assert at one point. Now it's not. Yay!
 */
function f(a,[x,y],b,[w,z],c) { function b() { } }

reportCompare(0, 0, "don't crash");