summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/exprs-cpp/test.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-07-29 20:00:46 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-07-29 20:00:46 +0000
commite8b659fc1ff02354438b1be0ff7016a12ec47603 (patch)
tree1a358437bff62ff17a5c8967da4d3144c9964078 /clang/test/ASTMerge/exprs-cpp/test.cpp
parenta625da716c8300d2ff9ec2313e7b38892bcfcfcb (diff)
downloadbcm5719-llvm-e8b659fc1ff02354438b1be0ff7016a12ec47603.tar.gz
bcm5719-llvm-e8b659fc1ff02354438b1be0ff7016a12ec47603.zip
Give the 'signed/unsigned wchar_t' extension a warning flag, and follow
GCC 9 in promoting it to an error by default. llvm-svn: 367255
Diffstat (limited to 'clang/test/ASTMerge/exprs-cpp/test.cpp')
-rw-r--r--clang/test/ASTMerge/exprs-cpp/test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/ASTMerge/exprs-cpp/test.cpp b/clang/test/ASTMerge/exprs-cpp/test.cpp
index c0b282ec028..7bb6d175869 100644
--- a/clang/test/ASTMerge/exprs-cpp/test.cpp
+++ b/clang/test/ASTMerge/exprs-cpp/test.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++1z -fcxx-exceptions -emit-pch -o %t.1.ast %S/Inputs/exprs3.cpp
-// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++1z -fcxx-exceptions -ast-merge %t.1.ast -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++1z -fcxx-exceptions -Wno-signed-unsigned-wchar -emit-pch -o %t.1.ast %S/Inputs/exprs3.cpp
+// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++1z -fcxx-exceptions -Wno-signed-unsigned-wchar -ast-merge %t.1.ast -fsyntax-only -verify %s
// expected-no-diagnostics
static_assert(Ch1 == 'a');
OpenPOWER on IntegriCloud