diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c b/gcc-4.9/gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c new file mode 100644 index 000000000..1c336d81a --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.dg/compat/scalar-by-value-5.c @@ -0,0 +1,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 |