view gcc/testsuite/gcc.dg/dfp/builtin-complex.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
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" } */
}