blob: 925ce9270b9ebfa17c7fc9db89eabfb9995dad13 [file] [log] [blame]
#include "compat-common.h"
#include "fp-struct-defs.h"
#include "fp-struct-check.h"
#include "fp-struct-test-by-value-x.h"
#ifndef SKIP_COMPLEX_INT
DEFS(cs, _Complex short)
CHECKS(cs, _Complex short)
TEST(Scs1, _Complex short)
TEST(Scs2, _Complex short)
TEST(Scs3, _Complex short)
TEST(Scs4, _Complex short)
TEST(Scs5, _Complex short)
TEST(Scs6, _Complex short)
TEST(Scs7, _Complex short)
TEST(Scs8, _Complex short)
TEST(Scs9, _Complex short)
TEST(Scs10, _Complex short)
TEST(Scs11, _Complex short)
TEST(Scs12, _Complex short)
TEST(Scs13, _Complex short)
TEST(Scs14, _Complex short)
TEST(Scs15, _Complex short)
TEST(Scs16, _Complex short)
#endif
#undef T
void
struct_by_value_12_x ()
{
#ifndef SKIP_COMPLEX_INT
DEBUG_INIT
#define T(TYPE, MTYPE) testit##TYPE ();
T(Scs1, _Complex short)
T(Scs2, _Complex short)
T(Scs3, _Complex short)
T(Scs4, _Complex short)
T(Scs5, _Complex short)
T(Scs6, _Complex short)
T(Scs7, _Complex short)
T(Scs8, _Complex short)
T(Scs9, _Complex short)
T(Scs10, _Complex short)
T(Scs11, _Complex short)
T(Scs12, _Complex short)
T(Scs13, _Complex short)
T(Scs14, _Complex short)
T(Scs15, _Complex short)
T(Scs16, _Complex short)
DEBUG_FINI
if (fails != 0)
abort ();
#undef T
#endif
}