[cfe-commits] r107574 - /cfe/trunk/test/SemaCXX/destructor.cpp

Benjamin Kramer benny.kra at googlemail.com
Sat Jul 3 13:33:13 PDT 2010


Author: d0k
Date: Sat Jul  3 15:33:13 2010
New Revision: 107574

URL: http://llvm.org/viewvc/llvm-project?rev=107574&view=rev
Log:
Unbreak test on platforms where size_t != unsigned long.

Modified:
    cfe/trunk/test/SemaCXX/destructor.cpp

Modified: cfe/trunk/test/SemaCXX/destructor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/destructor.cpp?rev=107574&r1=107573&r2=107574&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/destructor.cpp (original)
+++ cfe/trunk/test/SemaCXX/destructor.cpp Sat Jul  3 15:33:13 2010
@@ -94,7 +94,7 @@
 namespace test6 {
   template <class T> class A {
   public:
-    void *operator new(unsigned long);
+    void *operator new(__SIZE_TYPE__);
     void operator delete(void *p) {
       T::deleteIt(p); // expected-error {{type 'int' cannot be used prior to '::'}}
     }





More information about the cfe-commits mailing list