diff options
Diffstat (limited to 'clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp')
| -rw-r--r-- | clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp b/clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp index fa84b1fbeda0..9f9f1a93ad12 100644 --- a/clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp +++ b/clang/test/SemaOpenACC/compute-construct-no_create-clause.cpp @@ -47,8 +47,7 @@ void uses(int IntParam, char *PointerParam, float ArrayParam[5], Complete Compos #pragma acc parallel no_create(ArrayParam[2:5]) while(1); - // 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 parallel no_create((float*)ArrayParam[2:5]) while(1); // expected-error@+1{{OpenACC variable is not a valid variable name, sub-array, array element, member of a composite variable, or composite variable member}} |
