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)
llvm-svn: 222848

clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp

index f49ee03..ff973f0 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}}
   };
 }