Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/cilk-plus/AN/test_sec_limits.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* { 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; }