summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/sections_private_messages.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-03-31 09:13:44 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-03-31 09:13:44 +0000
commit01680934f198be5ade4780acc37aa34a3e7e3ead (patch)
tree81a77a11cd8e2e32d093b85787b6c2143aef4895 /test/OpenMP/sections_private_messages.cpp
parentd3491bd078c477e68d6a3aec1df37c63e255371c (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.cpp4
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();
}