Index: test/mjsunit/harmony/async-await-loop.js |
diff --git a/test/mjsunit/harmony/async-await-loop.js b/test/mjsunit/harmony/async-await-loop.js |
deleted file mode 100644 |
index f0d8cbcaef8cb8788abd78db1d6e3a1986bcb73c..0000000000000000000000000000000000000000 |
--- a/test/mjsunit/harmony/async-await-loop.js |
+++ /dev/null |
@@ -1,34 +0,0 @@ |
-// 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 --allow-natives-syntax --max-old-space-size 10 |
- |
-let out; |
- |
-async function longLoop() { |
- for (let i = 0; i < 100000; i++) await undefined; |
- out = 1; |
-} |
- |
-longLoop(); |
- |
-%RunMicrotasks(); |
- |
-assertEquals(1, out); |
- |
-async function thrower() { throw undefined; } |
- |
-async function throwLoop() { |
- for (let i = 0; i < 100000; i++) { |
- try { await thrower(); } |
- catch (e) {} |
- } |
- out = 2; |
-} |
- |
-throwLoop(); |
- |
-%RunMicrotasks(); |
- |
-assertEquals(2, out); |