PR libstdc++/70940 make pmr::resource_adaptor return aligned memory
[official-gcc.git] / gcc / testsuite / gcc.dg / pr85955.c
blob7f67f62dce67c811a6f01806ea1d9f6c6e1e888f
1 /* { dg-do compile } */
2 /* { dg-options "-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;