Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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'" }
}