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 | 01680934f198be5ade4780acc37aa34a3e7e3ead (patch) | |
tree | 81a77a11cd8e2e32d093b85787b6c2143aef4895 /test/OpenMP/sections_private_messages.cpp | |
parent | d3491bd078c477e68d6a3aec1df37c63e255371c (diff) |
[OPENMP] Allow skip expression after comma in clauses with lists.
Compatibility fix for better compatibility with the existing software.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/sections_private_messages.cpp')
-rw-r--r-- | test/OpenMP/sections_private_messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/OpenMP/sections_private_messages.cpp b/test/OpenMP/sections_private_messages.cpp index 27bb3136e7..2855a7de12 100644 --- a/test/OpenMP/sections_private_messages.cpp +++ b/test/OpenMP/sections_private_messages.cpp @@ -124,7 +124,7 @@ int foomain(I argc, C **argv) { { foo(); } -#pragma omp sections private(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} +#pragma omp sections private(argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} { foo(); } @@ -214,7 +214,7 @@ int main(int argc, char **argv) { { foo(); } -#pragma omp sections private(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} +#pragma omp sections private(argc, // expected-error {{expected ')'}} expected-note {{to match this '('}} { foo(); } |