Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr54625-2_1.C

raw
1 extern "C" double sin (double);
2 typedef double (*UnaryFunType) (double);
3 class A
4 {
5 public:
6 int hash ();
7 void lookup (UnaryFunType p1)
8 {
9 int a = hash ();
10 p1 (0);
11 }
12 };
13 A b, c;
14 void
15 math_sin_impl ()
16 {
17 b.lookup (sin);
18 }
19
20 void
21 js_math_sqrt ()
22 {
23 c.lookup (0);
24 }