r174953 - Attempt to fix this test on i686 targets.

Nick Lewycky nicholas at mxc.ca
Tue Feb 12 00:59:01 PST 2013


Author: nicholas
Date: Tue Feb 12 02:59:01 2013
New Revision: 174953

URL: http://llvm.org/viewvc/llvm-project?rev=174953&view=rev
Log:
Attempt to fix this test on i686 targets.

Modified:
    cfe/trunk/test/SemaCXX/attr-deprecated.cpp

Modified: cfe/trunk/test/SemaCXX/attr-deprecated.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/attr-deprecated.cpp?rev=174953&r1=174952&r2=174953&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/attr-deprecated.cpp (original)
+++ cfe/trunk/test/SemaCXX/attr-deprecated.cpp Tue Feb 12 02:59:01 2013
@@ -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}}
   };
 





More information about the cfe-commits mailing list