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'" }
}