summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/single_copyprivate_messages.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-05-19 08:44:56 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-05-19 08:44:56 +0000
commit34c2a4c1e074abedcb681e44858720eb27b33e3d (patch)
tree8ea907b6a52e13a000a0587b411caa7c84f31fc2 /test/OpenMP/single_copyprivate_messages.cpp
parentb777f2409f70c779162dee0442f087920d518a4a (diff)
[OPENMP] Prohibit VLAs in 'private/firstprivate' clauses of 'task' directive.
Currently runtime does not allow to support variably modified types for 'private' and 'firstprivate' clauses in 'task' directives. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237674 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/single_copyprivate_messages.cpp')
-rw-r--r--test/OpenMP/single_copyprivate_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OpenMP/single_copyprivate_messages.cpp b/test/OpenMP/single_copyprivate_messages.cpp
index a2ffdef033..f941c8e9b3 100644
--- a/test/OpenMP/single_copyprivate_messages.cpp
+++ b/test/OpenMP/single_copyprivate_messages.cpp
@@ -106,7 +106,7 @@ T tmain(T argc, C **argv) {
}
void bar(S4 a[2], int n, int b[n]) { // expected-note {{'b' defined here}}
-#pragma omp single copyprivate(a, b) // expected-error {{'operator=' is a private member of 'S4'}} expected-error {{arguments of OpenMP clause 'copyprivate' cannot be of variably-modified type 'int [n]'}}
+#pragma omp single copyprivate(a, b) // expected-error {{'operator=' is a private member of 'S4'}} expected-error {{arguments of OpenMP clause 'copyprivate' in '#pragma omp single' directive cannot be of variably-modified type 'int [n]'}}
foo();
}