summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/extensions/regress-696109.js
blob: 4a56340d3674f1ea48ca3830ff8c102e9066e87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |reftest| skip-if(!xulRuntime.shell)
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 * Contributor: Dave Herman <dherman@mozilla.com>
 */

// Bug 696109 - fixed a precedence bug in with/while nodes
Reflect.parse("with({foo})bar");
Reflect.parse("while({foo})bar");

reportCompare(true, true);