13 #define T(f, r, i, t) \
15 s = sizeof (f (r, i)); \
16 if (s != sizeof (complex t)) \
19 CMPLX (" #r ", " #i ") does not produce complex " #t ": %zu\n", s); \
26 T (f, 0.0f, 0.0f, t); \
27 T (f, 0.0f, 0.0, t); \
28 T (f, 0.0f, 0.0L, t); \
29 T (f, 0.0f, 0.0f, t); \
30 T (f, 0.0, 0.0f, t); \
31 T (f, 0.0L, 0.0f, t); \
32 T (f, 0.0, 0.0f, t); \
34 T (f, 0.0, 0.0L, t); \
35 T (f, 0.0f, 0.0, t); \
37 T (f, 0.0L, 0.0, t); \
38 T (f, 0.0L, 0.0f, t); \
39 T (f, 0.0L, 0.0, t); \
40 T (f, 0.0L, 0.0L, t); \
41 T (f, 0.0f, 0.0L, t); \
42 T (f, 0.0, 0.0L, t); \
43 T (f, 0.0L, 0.0L, t); \
48 C (CMPLXL
, long double);
54 #define TEST_FUNCTION do_test ()
55 #include "../test-skeleton.c"