repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wconversion-null-5.C
blob
05980ea91ab5f743b2679220603a4bbf81e65e49
1
// PR c++/60304
2
// { dg-do compile { target c++98_only } }
3
// { dg-options "-Wconversion-null" }
4
5
#include <stdbool.h>
6
int * foo() {return false;} // { dg-warning "converting 'false' to pointer" }