PR tree-optimization/83369 - Missing diagnostics during inlining
[official-gcc.git] / gcc / testsuite / gcc.dg / fpermitted-flt-eval-methods_4.c
bloba7bbb65b3dfbcab22707f264c60ca0a495192e2d
1 /* { dg-do run } */
2 /* { dg-options "-std=c11" } */
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. */
8 #define __STDC_WANT_IEC_60559_TYPES_EXT__
10 #include <float.h>
12 int main (int argc, char** argv)
14 switch (__FLT_EVAL_METHOD__)
16 case 0:
17 case 1:
18 case 2:
19 case 16:
20 case -1:
21 return 0;
22 default:
23 return 1;