(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
warn/
Wconversion-null-5.C
// PR c++/60304
// { dg-do compile { target c++98_only } }
// { dg-options "-Wconversion-null" }

#include <stdbool.h>
int * foo() {return false;} // { dg-warning "converting 'false' to pointer" }