Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
c-c++-common
/
cilk-plus
/
AN
/
test_sec_limits.c
blob: f4f3ca5a6bb0de0db091c935ae304b0a263a0d72 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-fcilkplus" } */
#include
<limits.h>
int
A
[
16
];
int
a
=
0
;
int
main
()
{
if
(
__sec_reduce_max
(
A
[
0
:
0
:
2
])
!=
INT_MIN
)
a
++;
if
(
__sec_reduce_min
(
A
[
0
:
0
:
2
])
!=
INT_MAX
)
a
++;
return
a
;
}