]> granicus.if.org Git - clang/commitdiff
Make test more platform independent.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 11 Nov 2009 22:49:09 +0000 (22:49 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 11 Nov 2009 22:49:09 +0000 (22:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86890 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/new-operator-phi.cpp

index 03f528cfbe78ddb5bd4b72e33a3f50711a6c84dd..a5eed28ccf951e6c952fbda17d8dd939a4e96463 100644 (file)
@@ -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)
 {