1 /* { dg-do run } */
2 /* { dg-options "-std=c11" } */
3
4 /* Test that when compiling with -std=c11, we only see the C99/C11 values
5 for FLT_EVAL_METHOD. */
6
7 #include <float.h>
8
9 int main (int argc, char** argv)
10 {
11 switch (FLT_EVAL_METHOD)
12 {
13 case 0:
14 case 1:
15 case 2:
16 case -1:
17 return 0;
18 default:
19 return 1;
20 }
21 }