chromium/v8/test/unittests/parser/preparser-unittest.cc

// Copyright 2017 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.

#include "src/api/api-inl.h"
#include "src/ast/ast.h"
#include "src/base/strings.h"
#include "src/base/vector.h"
#include "src/codegen/compiler.h"
#include "src/objects/objects-inl.h"
#include "src/parsing/parse-info.h"
#include "src/parsing/parsing.h"
#include "src/parsing/preparse-data-impl.h"
#include "src/parsing/preparse-data.h"
#include "test/unittests/parser/scope-test-helper.h"
#include "test/unittests/parser/unicode-helpers.h"
#include "test/unittests/test-helpers.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace v8 {
namespace internal {

namespace {

enum SkipTests {};

enum class PreciseMaybeAssigned {};

enum class Bailout {};

}  // namespace

class PreParserTest : public TestWithNativeContext {};

TEST_F(PreParserTest, LazyFunctionLength) {}

TEST_F(PreParserTest, PreParserScopeAnalysis) {}

// Regression test for
// https://bugs.chromium.org/p/chromium/issues/detail?id=753896. Should not
// crash.
TEST_F(PreParserTest, Regress753896) {}

TEST_F(PreParserTest, TopLevelArrowFunctions) {}

TEST_F(PreParserTest, ProducingAndConsumingByteData) {}

}  // namespace internal
}  // namespace v8