12 #define T(f, r, i, t) \
14 s = sizeof (f (r, i)); \
15 if (s != sizeof (complex t)) \
18 CMPLX (" #r ", " #i ") does not produce complex " #t ": %zu\n", s); \
25 T (f, 0.0f, 0.0f, t); \
26 T (f, 0.0f, 0.0, t); \
27 T (f, 0.0f, 0.0L, t); \
28 T (f, 0.0f, 0.0f, t); \
29 T (f, 0.0, 0.0f, t); \
30 T (f, 0.0L, 0.0f, t); \
31 T (f, 0.0, 0.0f, t); \
33 T (f, 0.0, 0.0L, t); \
34 T (f, 0.0f, 0.0, t); \
36 T (f, 0.0L, 0.0, t); \
37 T (f, 0.0L, 0.0f, t); \
38 T (f, 0.0L, 0.0, t); \
39 T (f, 0.0L, 0.0L, t); \
40 T (f, 0.0f, 0.0L, t); \
41 T (f, 0.0, 0.0L, t); \
42 T (f, 0.0L, 0.0L, t); \
47 # ifndef NO_LONG_DOUBLE
48 C (CMPLXL
, long double);
55 #define TEST_FUNCTION do_test ()
56 #include "../test-skeleton.c"