r372709 - [NFC] Update test after r372708
David Bolvansky via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 24 02:24:49 PDT 2019
Author: xbolva00
Date: Tue Sep 24 02:24:48 2019
New Revision: 372709
URL: http://llvm.org/viewvc/llvm-project?rev=372709&view=rev
Log:
[NFC] Update test after r372708
Modified:
cfe/trunk/test/SemaCXX/cxx2a-explicit-bool.cpp
Modified: cfe/trunk/test/SemaCXX/cxx2a-explicit-bool.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/cxx2a-explicit-bool.cpp?rev=372709&r1=372708&r2=372709&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/cxx2a-explicit-bool.cpp (original)
+++ cfe/trunk/test/SemaCXX/cxx2a-explicit-bool.cpp Tue Sep 24 02:24:48 2019
@@ -20,7 +20,7 @@ namespace special_cases
template<int a>
struct A {
// expected-note at -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 at -1 {{negative shift count -1}}
// expected-error at -2 {{explicit specifier argument is not a constant expression}}
A(int);
More information about the cfe-commits
mailing list