repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix test-suite fallout of default -Wreturn-type.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wconversion-null-3.C
blob
a1f0cf71d48fc1ed103af04bec0ee09a6477d4fe
1
// PR c++/48420
2
// { dg-do compile { target { ! c++11 } } }
3
4
void foo(int* p);
5
6
void bar() {
7
const bool kDebugMode = false;
8
foo(kDebugMode); // { dg-warning "converting 'false'" }
9
}