summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/parallel_sections_copyin_messages.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2016-04-01 08:43:42 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2016-04-01 08:43:42 +0000
commitc5970623e0acf3d436f1c629caf0b5f3131e0ad5 (patch)
tree0da685ebc291681778a602f220052c525325e824 /clang/test/OpenMP/parallel_sections_copyin_messages.cpp
parent215d59e7b0b14968c2f0c33c6575373455a84359 (diff)
downloadbcm5719-llvm-c5970623e0acf3d436f1c629caf0b5f3131e0ad5.tar.gz
bcm5719-llvm-c5970623e0acf3d436f1c629caf0b5f3131e0ad5.zip
Revert "[OPENMP] Allow skip expression after comma in clauses with lists."
This reverts commit http://reviews.llvm.org/rL265003. After some thoughts decided to emit errors here. llvm-svn: 265119
Diffstat (limited to 'clang/test/OpenMP/parallel_sections_copyin_messages.cpp')
-rw-r--r--clang/test/OpenMP/parallel_sections_copyin_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/OpenMP/parallel_sections_copyin_messages.cpp b/clang/test/OpenMP/parallel_sections_copyin_messages.cpp
index d8a34bad21b..62b5d05db06 100644
--- a/clang/test/OpenMP/parallel_sections_copyin_messages.cpp
+++ b/clang/test/OpenMP/parallel_sections_copyin_messages.cpp
@@ -76,7 +76,7 @@ int main(int argc, char **argv) {
{
foo();
}
-#pragma omp parallel sections copyin(h, // expected-error {{expected ')'}} expected-note {{to match this '('}}
+#pragma omp parallel sections copyin(h, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
{
foo();
}
OpenPOWER on IntegriCloud