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