c++: Implement for namespace statics CWG 2867 - Order of initialization for structure...
[official-gcc.git] / gcc / testsuite / gcc.dg / c23-float-13.c
blob9cfd7f0592ecb747b48571965841f61a3b242da7
1 /* Test __STDC_VERSION_FLOAT_H__ in C23. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
5 #include <float.h>
7 #ifndef __STDC_VERSION_FLOAT_H__
8 #error "__STDC_VERSION_FLOAT_H__ not defined"
9 #endif
11 #if __STDC_VERSION_FLOAT_H__ != 202311L
12 #error "bad value of __STDC_VERSION_FLOAT_H__"
13 #endif