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

// Binary: cache/js-dbg-32-b6aa44d8f11f-linux
// Flags:
//

Array.prototype.iterator = (function() { { while(0) { function Uint8ClampedArray() {  } } } });
var s = new Set(["testing", "testing", 123]);
assertEq(s.size(), 2);