1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* { 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; }