summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c
blob: 1c336d81ab52be098fa3d88f255856187d246dda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TEST_FUNCS (longlong_i, long long, int,
	    1234LL, -987)
TEST_FUNCS (longlong_d, long long, double,
	    1234LL, -987.0)
#ifndef SKIP_COMPLEX
#ifndef SKIP_COMPLEX_INT
TEST_FUNCS (complexint_i, _Complex int, int,
	    1234 + 567i, -987)
TEST_FUNCS (complexint_d, _Complex int, double,
	    1234 + 567i, -987.0)
#endif
TEST_FUNCS (complexdouble_i, _Complex double, int,
	    1234.0 + 567.0i, -987)
TEST_FUNCS (complexdouble_d, _Complex double, double,
	    1234.0 + 567.0i, -987.0)
#ifndef SKIP_COMPLEX_INT
TEST_FUNCS (complexlonglong_i, _Complex long long, int,
	    1234LL + 567LLi, -987)
TEST_FUNCS (complexlonglong_d, _Complex long long, double,
	    1234LL + 567LLi, -987.0)
#endif
#endif