Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wconversion-null-3.C
blob: a1f0cf71d48fc1ed103af04bec0ee09a6477d4fe [
file
] [
log
] [
blame
]
// PR c++/48420
// { dg-do compile { target { ! c++11 } } }
void
foo
(
int
*
p
);
void
bar
()
{
const
bool
kDebugMode
=
false
;
foo
(
kDebugMode
);
// { dg-warning "converting 'false'" }
}