/* Test C2x definition of LDBL_EPSILON. *//* { dg-do run } *//* { dg-options "-std=c2x -pedantic-errors" } */#include <float.h>externvoidabort(void);externvoidexit(int);intmain(void){volatilelong double x =1.0L;for(int i =0; i < LDBL_MANT_DIG -1; i++)
x /=2;if(x != LDBL_EPSILON)abort();exit(0);}