blob: 09c365d2354e92e8119dd1a6d4661e0d733bee74 [file] [log] [blame]
extern "C" double sin (double);
typedef double (*UnaryFunType) (double);
class A
{
public:
int hash ();
void lookup (UnaryFunType p1)
{
int a = hash ();
p1 (0);
}
};
A b, c;
void
math_sin_impl ()
{
b.lookup (sin);
}
void
js_math_sqrt ()
{
c.lookup (0);
}