summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug823310.js
blob: 004a5563993fc2362f8ebe4f81ef1528d27cbc32 (plain)
1
2
3
4
5
6
7
"use strict";
options("werror");

// This construct causes a strict warning, but we shouldn't get one since
// JSOPTION_EXTRA_WARNINGS isn't enabled.
var x;
eval("if (x = 3) {}");