1  /* Tests for _FloatN / _FloatNx types: test erroneous mixing with DFP.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "" } */
       4  /* { dg-add-options float32 } */
       5  /* { dg-add-options float32x } */
       6  /* { dg-require-effective-target float32 } */
       7  /* { dg-require-effective-target float32x } */
       8  
       9  _Decimal32 d32;
      10  _Float32 f32;
      11  _Float32x f32x;
      12  int i;
      13  
      14  void
      15  f (void)
      16  {
      17    (void) (d32 + f32); /* { dg-error "mix operands" } */
      18    (void) (f32x * d32); /* { dg-error "mix operands" } */
      19    (void) (i ? d32 : f32); /* { dg-error "mix operands" } */
      20  }