blob: 255a033f5958edd5d1d7894f7852d09508997b3c [file] [log] [blame]
Ben Murdochda12d292016-06-02 14:46:10 +01001// Copyright 2016 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Flags: --harmony-tailcalls
6
7"use strict";
8
9function h(global) { return global.boom(); }
10function g() { var r = h({}); return r; }
11function f() {
12 var o = {};
13 o.__defineGetter__('prop1', g);
14 o.prop1;
15}
16
17assertThrows(f);