1 // RUN: %libomp-compile-and-run
26 #pragma omp parallel for firstprivate(i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16) reduction(+:r)
27 for (i
= 0; i
< i16
; i
++) {
28 r
+= i
+ i1
+ i2
+ i3
+ i4
+ i5
+ i6
+ i7
+ i8
+ i9
+ i10
+ i11
+ i12
+ i13
+ i14
+ i15
+ i16
;
33 fprintf(stderr
, "r should be %d but instead equals %d\n", rf
, r
);