aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/lto/pr54625-1_1.C
blob: 2d0d5bfbadf254d23b0da9d797928188e4df2c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
extern "C" double sin (double);
typedef double UnaryFunType (double);
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);
}