gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-60.c
blobb57679f36eb0d216e0b11c84496caa1b2c9788b3
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
4 double test1 (double x)
6 return __real __builtin_cexpi (x);
9 double test2 (double x)
11 return __imag __builtin_cexpi (x);
14 /* { dg-final { scan-tree-dump "cos" "gimple" } } */
15 /* { dg-final { scan-tree-dump "sin" "gimple" } } */
16 /* { dg-final { cleanup-tree-dump "gimple" } } */