]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/AN/test_sec_limits.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / test_sec_limits.c
1 /* { dg-do run } */
2 /* { dg-options "-fcilkplus" } */
3
4 #include <limits.h>
5 int A[16];
6 int a = 0;
7
8 int main () {
9 if (__sec_reduce_max(A[0:0:2]) != INT_MIN)
10 a++;
11
12 if (__sec_reduce_min(A[0:0:2]) != INT_MAX)
13 a++;
14
15 return a;
16 }
17
18