summaryrefslogtreecommitdiff
path: root/test/OpenMP/target_enter_data_if_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/target_enter_data_if_messages.cpp')
-rw-r--r--test/OpenMP/target_enter_data_if_messages.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/OpenMP/target_enter_data_if_messages.cpp b/test/OpenMP/target_enter_data_if_messages.cpp
index 21019e9ae7..5123d607dc 100644
--- a/test/OpenMP/target_enter_data_if_messages.cpp
+++ b/test/OpenMP/target_enter_data_if_messages.cpp
@@ -9,13 +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 target enter data map(to:argc) if(cond) // expected-warning {{variable 'cond' is uninitialized when used here}}
- for (int i = 0; i < 10; ++i)
- ;
-}
-
struct S1; // expected-note {{declared here}}
int main(int argc, char **argv) {