/* Test __STDC_VERSION_FLOAT_H__ in C2x. */ | |
/* { dg-do preprocess } */ | |
/* { dg-options "-std=c2x -pedantic-errors" } */ | |
#include <float.h> | |
#ifndef __STDC_VERSION_FLOAT_H__ | |
#error "__STDC_VERSION_FLOAT_H__ not defined" | |
#endif | |
#if __STDC_VERSION_FLOAT_H__ != 202311L | |
#error "bad value of __STDC_VERSION_FLOAT_H__" | |
#endif |