diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2016-03-31 09:13:44 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2016-03-31 09:13:44 +0000 |
| commit | 05968174c3c99b075dda38ff860d4ca8c4e7990e (patch) | |
| tree | 79b92f55aec328f63b2226256b3cea761255166d /clang/test/OpenMP/distribute_firstprivate_messages.cpp | |
| parent | 6221be8e461ef5ce6cba05904260f697ce09eb81 (diff) | |
| download | bcm5719-llvm-05968174c3c99b075dda38ff860d4ca8c4e7990e.tar.gz bcm5719-llvm-05968174c3c99b075dda38ff860d4ca8c4e7990e.zip | |
[OPENMP] Allow skip expression after comma in clauses with lists.
Compatibility fix for better compatibility with the existing software.
llvm-svn: 265003
Diffstat (limited to 'clang/test/OpenMP/distribute_firstprivate_messages.cpp')
| -rw-r--r-- | clang/test/OpenMP/distribute_firstprivate_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/distribute_firstprivate_messages.cpp b/clang/test/OpenMP/distribute_firstprivate_messages.cpp index 5d371abbfa8..6e614b427da 100644 --- a/clang/test/OpenMP/distribute_firstprivate_messages.cpp +++ b/clang/test/OpenMP/distribute_firstprivate_messages.cpp @@ -75,7 +75,7 @@ int main(int argc, char **argv) { for (i = 0; i < argc; ++i) foo(); #pragma omp target #pragma omp teams - #pragma omp distribute firstprivate (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} + #pragma omp distribute firstprivate (argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} for (i = 0; i < argc; ++i) foo(); #pragma omp target #pragma omp teams |

