hermes-windows/test/Parser/large-nested-call.js

11 строки
366 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// RUN: (! echo "f"{1..5000}"(" | %hermesc -dump-ast - 2>&1 ) | %FileCheck -match-full-lines %s
// CHECK: {{.*}}: error: Too many nested expressions/statements/declarations