Skip to content

Commit 8f7d3c8

Browse files
committed
fixup test I forgot to include
1 parent df46166 commit 8f7d3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/SemaOpenACC/compute-construct-reduction-clause.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ void uses(unsigned Parm) {
119119

120120
int *IPtrArr[5];
121121
// expected-error@+3{{invalid type 'int *' used in OpenACC 'reduction' variable reference; type is not a scalar value, or array of scalars, or composite of scalars}}
122-
// expected-note@+2{{used as element type of array type 'int *'}}
122+
// expected-note@+2{{used as element type of array type 'int *[5]'}}
123123
// expected-note@+1{{OpenACC 'reduction' variable reference must be a scalar variable or a composite of scalars, or an array, sub-array, or element of scalar types}}
124124
#pragma acc parallel reduction(+:IPtrArr)
125125
while (1);

0 commit comments

Comments
 (0)