Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wconversion-null-3.C
bloba1f0cf71d48fc1ed103af04bec0ee09a6477d4fe
1 // PR c++/48420
2 // { dg-do compile { target { ! c++11 } } }
4 void foo(int* p);
6 void bar() {
7   const bool kDebugMode = false;
8   foo(kDebugMode);   // { dg-warning "converting 'false'" }