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