xref: /aosp_15_r20/external/cronet/base/debug/crash_logging_nocompile.nc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1// Copyright 2011 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// This is a "No Compile Test" suite.
6// http://dev.chromium.org/developers/testing/no-compile-tests
7
8#include "base/debug/crash_logging.h"
9
10namespace base {
11
12void NonBoolArg() {
13  SCOPED_CRASH_KEY_BOOL("category", "name", 1);  // expected-error {{SCOPED_CRASH_KEY_BOOL must be passed a boolean value.}}
14}
15
16}  // namespace base
17