Debian Codegraph @

gcc/testsuite/gcc.dg/c23-float-13.c

raw
1 /* Test __STDC_VERSION_FLOAT_H__ in C23. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4
5 #include <float.h>
6
7 #ifndef __STDC_VERSION_FLOAT_H__
8 #error "__STDC_VERSION_FLOAT_H__ not defined"
9 #endif
10
11 #if __STDC_VERSION_FLOAT_H__ != 202311L
12 #error "bad value of __STDC_VERSION_FLOAT_H__"
13 #endif