view gcc/testsuite/gcc.dg/dfp/builtin-complex.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Test __builtin_complex errors with DFP.  */
/* { dg-do compile } */

_Decimal32 a, b;

void
f (void)
{
  __builtin_complex (a, b); /* { dg-error "not of real binary floating-point type" } */
}