]> granicus.if.org Git - clang/commitdiff
Attempt to fix this test on i686 targets.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 12 Feb 2013 08:59:01 +0000 (08:59 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 12 Feb 2013 08:59:01 +0000 (08:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174953 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/attr-deprecated.cpp

index 2d730a8eed330881483b41c5e13c8453c5a0736d..d09faf34d7a520b3b8cff05c2dd7d6953ee50378 100644 (file)
@@ -236,7 +236,7 @@ namespace test6 {
 
 namespace test7 {
   struct X {
-    void* operator new(unsigned long) __attribute__((deprecated));  // expected-note{{'operator new' declared here}}
+    void* operator new(typeof(sizeof(void*))) __attribute__((deprecated));  // expected-note{{'operator new' declared here}}
     void operator delete(void *) __attribute__((deprecated));  // expected-note{{'operator delete' declared here}}
   };