summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/thread-specifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/thread-specifier.c')
-rw-r--r--clang/test/Sema/thread-specifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Sema/thread-specifier.c b/clang/test/Sema/thread-specifier.c
index 3968ae14cf2..71e44c34726 100644
--- a/clang/test/Sema/thread-specifier.c
+++ b/clang/test/Sema/thread-specifier.c
@@ -5,6 +5,8 @@
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DCXX11 -D__thread=thread_local -std=c++11 -Wno-deprecated
// RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DC11 -D__thread=_Thread_local -std=c++11 -Wno-deprecated
+#pragma clang diagnostic ignored "-Wkeyword-macro"
+
#ifdef __cplusplus
// In C++, we define __private_extern__ to extern.
#undef __private_extern__
OpenPOWER on IntegriCloud