repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fpermitted-flt-eval-methods_3.c
blob
c7bd7567ca4753c3e6b57d396dd2f7152c538076
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
}