]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr89520-2.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr89520-2.c
1 /* PR c/89520 */
2 /* { dg-do compile } */
3 /* { dg-options "-Ofast -w" } */
4
5 #define A(name) __typeof (__builtin_##name (0)) name (); \
6 float name##1 () { return name (); } \
7 double name##2 () { return name (); }
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)