summaryrefslogtreecommitdiff
path: root/test/OpenMP/parallel_sections_default_messages.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-07-08 15:45:24 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-07-08 15:45:24 +0000
commit1f9df1ccb8d197fc6b14b494d031914dc0091013 (patch)
treeb26e9ce1c76031c77ff4f0df19f7452373d34ead /test/OpenMP/parallel_sections_default_messages.cpp
parented9e5713053e52bcf307e9e6568965caf8536b9b (diff)
downloadclang-1f9df1ccb8d197fc6b14b494d031914dc0091013.tar.gz
[OPENMP]Add -Wunintialized to the erroneous tests for future fix PR42392,
NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/OpenMP/parallel_sections_default_messages.cpp')
-rw-r--r--test/OpenMP/parallel_sections_default_messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/OpenMP/parallel_sections_default_messages.cpp b/test/OpenMP/parallel_sections_default_messages.cpp
index 3d2e74933f..d6a10fe56b 100644
--- a/test/OpenMP/parallel_sections_default_messages.cpp
+++ b/test/OpenMP/parallel_sections_default_messages.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 -o - %s
+// RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 -o - %s -Wuninitialized
-// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 -o - %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 -o - %s -Wuninitialized
void foo();