From e8b659fc1ff02354438b1be0ff7016a12ec47603 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 29 Jul 2019 20:00:46 +0000 Subject: 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 --- clang/test/ASTMerge/exprs-cpp/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/ASTMerge/exprs-cpp/test.cpp') 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'); -- cgit v1.2.3