libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr85955.c
blob4c15ff40604f7397b28c193e551476f806cbb41e
1 /* { dg-do compile } */
2 /* { dg-options "-fpermissive -O2 -w" } */
4 extern void sincos(double x, double *sinx, double *cosx);
5 void apply(void (*f)(double, double *, double *),
6 double x, double *sinx, double *cosx)
8 f(x, sinx, cosx);
9 return;
11 void apply_sincos(double x, double **sinx, double **cosx)
13 apply(sincos, x, sinx, cosx);
14 return;