Simplify messages as requested by Chris.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126389 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/shift.cpp b/test/SemaCXX/shift.cpp
index c5e5012..d5a5bed 100644
--- a/test/SemaCXX/shift.cpp
+++ b/test/SemaCXX/shift.cpp
@@ -5,8 +5,8 @@
#define WORD_BIT (sizeof(int) * CHAR_BIT)
template <int N> void f() {
- (void)(N << 30); // expected-warning {{the promoted type of the shift expression is 'int'}}
- (void)(30 << N); // expected-warning {{the promoted type of the shift expression is 'int'}}
+ (void)(N << 30); // expected-warning {{bits to represent, but 'int' only has}}
+ (void)(30 << N); // expected-warning {{bits to represent, but 'int' only has}}
}
void test() {