Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
7af1e530468a03dd5bbe86a4351b507477006db9
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wconversion-null-3.C
blob: 644ae1c40da852409f34e767bf23dfa77962846b [
file
] [
log
] [
blame
]
// PR c++/48420
// { dg-do compile { target c++98 } }
void
foo
(
int
*
p
);
void
bar
()
{
const
bool
kDebugMode
=
false
;
foo
(
kDebugMode
);
// { dg-warning "converting 'false'" }
}