summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/teams_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/teams_messages.cpp')
-rw-r--r--test/OpenMP/teams_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OpenMP/teams_messages.cpp b/test/OpenMP/teams_messages.cpp
index 6ed3be9da5..bba7da2e0e 100644
--- a/test/OpenMP/teams_messages.cpp
+++ b/test/OpenMP/teams_messages.cpp
@@ -63,7 +63,7 @@ int main(int argc, char **argv) {
}
}
#pragma omp target
- #pragma omp teams default(none)
+ #pragma omp teams default(none) // expected-note {{explicit data sharing attribute requested here}}
++argc; // expected-error {{variable 'argc' must have explicitly specified data sharing attributes}}
goto L2; // expected-error {{use of undeclared label 'L2'}}