2017-06-06 10:28:14 +02:00
|
|
|
// Copyright 2017 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.
|
|
|
|
//
|
2022-09-21 13:28:42 +02:00
|
|
|
// Flags: --always-turbofan --no-lazy --turbo-filter=whatever
|
2017-06-06 10:28:14 +02:00
|
|
|
|
|
|
|
function g() { eval() }
|
|
|
|
with ({}) { }
|
|
|
|
f = ({x}) => x;
|
|
|
|
assertEquals(42, f({x: 42}));
|