Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr89521-2.c
blob5e37c918fc27c7bbfdc94fce097a9766529b48cc
1 /* PR c/89521 */
2 /* { dg-do compile } */
3 /* { dg-options "-Ofast -w" } */
5 #define A(name) __typeof (__builtin_##name (0)) name (); \
6 float name##1 () { return name (1); } \
7 double name##2 () { return name (1); }
8 #define B(name) A(name) A(name##l)
9 B (cosh)
10 B (exp)
11 B (exp10)
12 B (exp2)
13 B (expm1)
14 B (gamma)
15 B (j0)
16 B (j1)
17 B (lgamma)
18 B (pow10)
19 B (sinh)
20 B (tgamma)
21 B (y0)
22 B (y1)
23 B (acos)
24 B (acosh)
25 B (asin)
26 B (asinh)
27 B (atan)
28 B (atanh)
29 B (cbrt)
30 B (cos)
31 B (erf)
32 B (erfc)
33 B (log)
34 B (log10)
35 B (log2)
36 B (log1p)
37 B (sin)
38 B (tan)
39 B (tanh)
40 B (sqrt)
41 B (fabs)
42 B (logb)