Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wconversion-null-5.C
blob05980ea91ab5f743b2679220603a4bbf81e65e49
1 // PR c++/60304
2 // { dg-do compile { target c++98_only } }
3 // { dg-options "-Wconversion-null" }
5 #include <stdbool.h>
6 int * foo() {return false;} // { dg-warning "converting 'false' to pointer" }