summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-722978.js
blob: 082c1f8be39af54ba9f861f2fb1e2c6d9e6f1996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Flags: --always-opt

var __v_3 = {};
function __f_0() {
  var __v_30 = -0;
  __v_30.__defineGetter__("0", function() { return undefined; });
  __v_30 = 0;
  __v_3 = 0;
  assertTrue(Object.is(0, __v_30));
}
__f_0();