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
/
Wconversion2.C
blob
158c2a96719c7845222a823ea770d12ea07dd571
1
// { dg-options "-Wconversion-null" }
2
void foo(const char *);
3
void bar() { foo(false); } // { dg-warning "pointer type for argument" "" { target { ! c++11 } } }
4
// { dg-error "cannot convert" "" { target c++11 } .-1 }