[cfe-commits] r86890 - /cfe/trunk/test/CodeGenCXX/new-operator-phi.cpp

Fariborz Jahanian fjahanian at apple.com
Wed Nov 11 16:49:10 CST 2009


Author: fjahanian
Date: Wed Nov 11 16:49:09 2009
New Revision: 86890

URL: http://llvm.org/viewvc/llvm-project?rev=86890&view=rev
Log:
Make test more platform independent.


Modified:
    cfe/trunk/test/CodeGenCXX/new-operator-phi.cpp

Modified: cfe/trunk/test/CodeGenCXX/new-operator-phi.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/new-operator-phi.cpp?rev=86890&r1=86889&r2=86890&view=diff

==============================================================================
--- cfe/trunk/test/CodeGenCXX/new-operator-phi.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/new-operator-phi.cpp Wed Nov 11 16:49:09 2009
@@ -1,7 +1,8 @@
 // RUN: clang-cc -emit-llvm-only -verify %s
 // PR5454
+#include <stddef.h>
 
-class X {static void * operator new(unsigned long size) throw(); X(int); };
+class X {static void * operator new(size_t size) throw(); X(int); };
 int a(), b();
 void b(int x)
 {




More information about the cfe-commits mailing list