summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/warn/Wconversion2.C
blob: 226dd852b760e3a020af926208e36857b4ba4580 (plain)
1
2
3
// { dg-options "-Wconversion-null" }
void foo(const char *); 
void bar() { foo(false); } // { dg-warning "pointer type for argument" }