PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-37.c
blobe366a6ac552b78b462ad9f905bb9dd0248547934
1 /* Copyright (C) 2004 Free Software Foundation.
3 Check tan, tanf and tanl built-in functions.
5 Written by Uros Bizjak, 7th April 2004. */
7 /* { dg-do compile } */
8 /* { dg-options "-O2 -ffast-math" } */
10 extern double tan(double);
11 extern float tanf(float);
12 extern long double tanl(long double);
15 double test1(double x)
17 return tan(x);
20 float test1f(float x)
22 return tanf(x);
25 long double test1l(long double x)
27 return tanl(x);