diff options
Diffstat (limited to 'clang/test/SemaOpenACC/combined-construct-firstprivate-clause.cpp')
| -rw-r--r-- | clang/test/SemaOpenACC/combined-construct-firstprivate-clause.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/SemaOpenACC/combined-construct-firstprivate-clause.cpp b/clang/test/SemaOpenACC/combined-construct-firstprivate-clause.cpp index 1b888ae4c6b5..85bc3a2f0124 100644 --- a/clang/test/SemaOpenACC/combined-construct-firstprivate-clause.cpp +++ b/clang/test/SemaOpenACC/combined-construct-firstprivate-clause.cpp @@ -48,8 +48,7 @@ void uses(int IntParam, char *PointerParam, float ArrayParam[5], Complete Compos #pragma acc parallel loop firstprivate(ArrayParam[2:5]) for (int i = 5; i < 10; ++i); - // expected-error@+2{{OpenACC sub-array specified range [2:5] would be out of the range of the subscripted array size of 5}} - // expected-error@+1{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}} + // expected-error@+1{{OpenACC sub-array specified range [2:5] would be out of the range of the subscripted array size of 5}} #pragma acc serial loop firstprivate((float*)ArrayParam[2:5]) for (int i = 5; i < 10; ++i); // expected-error@+1{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}} |
