v8/test/mjsunit/harmony/regress/regress-618603.js
caitpotter88 1a30866239 [interpreter] support async functions in Ignition
BUG=v8:4483, v8:4907, 618603
LOG=N
R=neis@chromium.org, yangguo@chromium.org, littledan@chromium.org

Review-Url: https://codereview.chromium.org/2051423003
Cr-Commit-Position: refs/heads/master@{#36938}
2016-06-13 17:21:19 +00:00

15 lines
406 B
JavaScript

// Copyright 2016 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: --harmony-async-await --ignition-generators
try {
} catch(e) {; }
function __f_7(expected, run) {
var __v_10 = run();
};
__f_7("[1,2,3]", () => (function() {
return (async () => {[...await arguments] })();
})());