summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug720380.js
blob: d673ab898871906459ebc4792f906259bb084002 (plain)
1
2
3
4
5
6
7
8
// Binary: cache/js-dbg-64-42368fe44c8c-linux
// Flags: -m -n
//

function MyObject( value ) {
  this.toBoolean = (this[ this.Function = this ]++ );
}
new MyObject(true);