chromium/third_party/blink/renderer/bindings/core/v8/native_value_traits_test.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/bindings/core/v8/native_value_traits.h"

#include <type_traits>

#include "third_party/blink/renderer/bindings/core/v8/idl_types_base.h"

// No gtest tests; only static_assert checks.

namespace blink {

template <>
struct NativeValueTraits<bool> : public NativeValueTraitsBase<bool> {};

static_assert;

struct MyIDLType final : public IDLBaseHelper<char> {};
template <>
struct NativeValueTraits<MyIDLType> : public NativeValueTraitsBase<MyIDLType> {};

static_assert;

}  // namespace blink