2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / builtins-60.c
blob72684197bc73fa674d864ff9f33256c5eeca2aec
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" } } */