summaryrefslogtreecommitdiff
path: root/test/OpenMP/parallel_sections_if_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/parallel_sections_if_messages.cpp')
-rw-r--r--test/OpenMP/parallel_sections_if_messages.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/OpenMP/parallel_sections_if_messages.cpp b/test/OpenMP/parallel_sections_if_messages.cpp
index b7c92df4f3..8d36b6d5d3 100644
--- a/test/OpenMP/parallel_sections_if_messages.cpp
+++ b/test/OpenMP/parallel_sections_if_messages.cpp
@@ -9,14 +9,6 @@ bool foobool(int argc) {
return argc;
}
-void xxx(int argc) {
- int cond; // expected-note {{initialize the variable 'cond' to silence this warning}}
-#pragma omp parallel sections if(cond) // expected-warning {{variable 'cond' is uninitialized when used here}}
- {
- ;
- }
-}
-
struct S1; // expected-note {{declared here}}
template <class T, class S> // expected-note {{declared here}}