e14a24d32e
That way we can continue running in failure mode. Bug: chromium:933214 Change-Id: I975901a72f615e2b7ed9955b75ce86bbcad0bbbb Reviewed-on: https://chromium-review.googlesource.com/c/1481219 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Toon Verwaest <verwaest@chromium.org> Cr-Commit-Position: refs/heads/master@{#59813}
14 lines
370 B
JavaScript
14 lines
370 B
JavaScript
// Copyright 2019 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.
|
|
|
|
assertThrows(`
|
|
function __v_0() {
|
|
function __v_2() {
|
|
try {
|
|
function* __v_0() {}
|
|
function __v_0() {}
|
|
}
|
|
}
|
|
}`, SyntaxError);
|