1 /* This test tests complex conjugate and passing/returning of
9 #define TEST(TYPE, FUNC) \
11 ctest_ ## FUNC (__complex__ TYPE x) \
13 __complex__ TYPE res; \
21 test_ ## FUNC (void) \
23 __complex__ TYPE res, x; \
27 res = ctest_ ## FUNC (x); \
29 if (res != 1.0 - 2.0i) \
31 printf ("test_" #FUNC " failed\n"); \
39 TEST(long double, long_double
)
41 TEST(long int, long_int
)