]> granicus.if.org Git - clang/commitdiff
Fix buildbot failure on LLP64 platforms like MSVC x86_64.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 26 Nov 2014 19:37:39 +0000 (19:37 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 26 Nov 2014 19:37:39 +0000 (19:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222848 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/temp_arg_nontype_cxx1z.cpp

index f49ee0343d016077c5f90fdb335c44c35e264700..ff973f0b2a4ebff00de3fdfdcf36546469abc45d 100644 (file)
@@ -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}}
   };
 }