]> granicus.if.org Git - clang/commitdiff
Fixed one buildbot-failure-causing bug...
authorLarisse Voufo <lvoufo@google.com>
Sun, 16 Jun 2013 04:34:07 +0000 (04:34 +0000)
committerLarisse Voufo <lvoufo@google.com>
Sun, 16 Jun 2013 04:34:07 +0000 (04:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184053 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/cxx98-compat-pedantic.cpp

index d1bb437df5911d500bd4d6b19be72a2faac7a3ac..5fe7980994e533c661b8ad8f56eea28efdeed9d9 100644 (file)
@@ -34,7 +34,7 @@ struct ConvertToInt {
 };
 int *ArraySizeConversion = new int[ConvertToInt()];
 #ifdef CXX1Y2
-// expected-warning@-2 {{implicit conversion from array size expression of type 'ConvertToInt' to integral type 'unsigned long' is incompatible with C++98}}
+// expected-warning@-2 {{implicit conversion from array size expression of type 'ConvertToInt' to integral type}} // 'unsigned long' is incompatible with C++98}}
 #else
 // expected-warning@-4 {{implicit conversion from array size expression of type 'ConvertToInt' to integral type 'int' is incompatible with C++98}}
 #endif