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

var resolved = Promise.resolve();

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