blob: 80593dba7358c9b4da8ceff3ba233ae31c49af44 [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 "C language" }
extern "C" double fabs (double, double); // { dg-message "previous declaration" }
}
extern "C" double fabs (double); // { dg-error "C language" }