1 // RUN: %clang_cc1 -S -O3 -fno-builtin -o - %s | FileCheck %s
2 // rdar://10551066
3
4 double ceil(double x);
5 double copysign(double,double);
6 double cos(double x);
7 double fabs(double x);
8 double floor(double x);
9
t1(double x)10 double t1(double x) { return ceil(x); }
11 // CHECK: t1
12 // CHECK: ceil
13
t2(double x,double y)14 double t2(double x, double y) { return copysign(x,y); }
15 // CHECK: t2
16 // CHECK: copysign
17
t3(double x)18 double t3(double x) { return cos(x); }
19 // CHECK: t3
20 // CHECK: cos
21
t4(double x)22 double t4(double x) { return fabs(x); }
23 // CHECK: t4
24 // CHECK: fabs
25
t5(double x)26 double t5(double x) { return floor(x); }
27 // CHECK: t5
28 // CHECK: floor
29