From: David Bolvansky Date: Tue, 24 Sep 2019 09:24:48 +0000 (+0000) Subject: [NFC] Update test after r372708 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d6e4d1fc575586f6a0e7a431ad02981d4f464fdb;p=clang [NFC] Update test after r372708 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCXX/cxx2a-explicit-bool.cpp b/test/SemaCXX/cxx2a-explicit-bool.cpp index bb62a25bdf..56fa76f0a8 100644 --- a/test/SemaCXX/cxx2a-explicit-bool.cpp +++ b/test/SemaCXX/cxx2a-explicit-bool.cpp @@ -20,7 +20,7 @@ namespace special_cases template struct A { // expected-note@-1+ {{candidate constructor}} - explicit(1 << a) // expected-warning {{converting the result of '<<' to a boolean; did you mean '(1 << -1) != 0'?}} + explicit(1 << a) // expected-note@-1 {{negative shift count -1}} // expected-error@-2 {{explicit specifier argument is not a constant expression}} A(int);