From 05968174c3c99b075dda38ff860d4ca8c4e7990e Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Thu, 31 Mar 2016 09:13:44 +0000 Subject: [OPENMP] Allow skip expression after comma in clauses with lists. Compatibility fix for better compatibility with the existing software. llvm-svn: 265003 --- clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp') diff --git a/clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp b/clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp index b733aabb7f2..8327ea82a67 100644 --- a/clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp +++ b/clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp @@ -82,7 +82,7 @@ int foomain(int argc, char **argv) { { foo(); } -#pragma omp parallel sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} +#pragma omp parallel sections firstprivate(argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} { foo(); } @@ -188,7 +188,7 @@ int main(int argc, char **argv) { { foo(); } -#pragma omp parallel sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} +#pragma omp parallel sections firstprivate(argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} { foo(); } -- cgit v1.2.3