1 /* { dg-skip-if "requires io" { freestanding } } */
3 /* This test tests complex conjugate and passing/returning of
11 #define TEST(TYPE, FUNC) \
13 ctest_ ## FUNC (__complex__ TYPE x) \
15 __complex__ TYPE res; \
23 test_ ## FUNC (void) \
25 __complex__ TYPE res, x; \
29 res = ctest_ ## FUNC (x); \
31 if (res != 1.0 - 2.0i) \
33 printf ("test_" #FUNC " failed\n"); \
41 TEST(long double, long_double
)
43 TEST(long int, long_int
)