blob: 3d5f05e361d5246301ce864806cc038c451256a9 [file] [log] [blame]
extern "C" double sin (double);
typedef double UnaryFunType (double);
#pragma GCC diagnostic ignored "-Wreturn-type"
class A
{
public:
int hash ();
double lookup (UnaryFunType p1)
{
int a = hash ();
if (p1)
return 0;
}
};
A b;
void
math_sin_impl ()
{
b.lookup (sin);
}