summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug648999.js
blob: 748a85bb16c6cdf5dcc4e57fb82637f0c2aff495 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error:TypeError

// Binary: cache/js-dbg-64-74a8fb1bbec5-linux
// Flags: -m -n -a
//
test();
function test()
{
  for (var j = 0; j < 10; ++j) new j;
}