blob: 2b4a46222c37084b024e8db8bf526bc3e9c6f92b [file] [log] [blame]
// Make sure unhidding an extern-c still checks it is compatible
extern "C" float fabsf (float); // { dg-message "previous declaration" }
namespace Bob
{
extern "C" float fabsf (float, float); // { dg-error "20:conflicting C language" }
extern "C" double fabs (double, double); // { dg-message "previous declaration" }
}
extern "C" double fabs (double); // { dg-error "19:conflicting C language" }