Author: rsmith
Date: Wed Nov 26 13:37:39 2014
New Revision: 222848
URL: http://llvm.org/viewvc/llvm-project?rev=222848&view=rev
Log:
Fix buildbot failure on LLP64 platforms like MSVC x86_64.
Modified:
cfe/trunk/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp
Modified: cfe/trunk/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp?rev=222848&r1=222847&r2=222848&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp (original)
+++ cfe/trunk/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp Wed Nov 26 13:37:39
2014
@@ -52,7 +52,7 @@ void Func() {
namespace LabelAddrDiff {
void f() {
- a: b: A<int, __builtin_constant_p(true) ? (long)&&b - (long)&&a : 0> s; //
expected-error {{label address difference}}
+ a: b: A<int, __builtin_constant_p(true) ? (__INTPTR_TYPE__)&&b -
(__INTPTR_TYPE__)&&a : 0> s; // expected-error {{label address difference}}
};
}
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits