summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/harmony/async-await-resolve-new.js
blob: 0711c95873e95b9d32d5418b47d5fdda4dec4d64 (plain)
1
2
3
4
5
6
7
8
9
// 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

var resolved = Promise.resolve();

assertTrue((async() => resolved)() !== resolved);