Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / c2x-limits-1.c
blob4977faf47b467d5f21458ee16afadffddaaa4f9d
1 /* Test __STDC_VERSION_LIMITS_H__ in C2x. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c2x -pedantic-errors" } */
5 #include <limits.h>
7 #ifndef __STDC_VERSION_LIMITS_H__
8 #error "__STDC_VERSION_LIMITS_H__ not defined"
9 #endif
11 #if __STDC_VERSION_LIMITS_H__ != 202311L
12 #error "bad value of __STDC_VERSION_LIMITS_H__"
13 #endif