summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/new-operator-phi.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-11-11 22:49:09 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-11-11 22:49:09 +0000
commitd708eb6b6a38603b0f6f72aba595d20e0951fe15 (patch)
treefc59bf02e7c45862b9cedb1044d3d228bb2571b6 /clang/test/CodeGenCXX/new-operator-phi.cpp
parent19019eaf006560dd5e88c5cecf2c805efb071c9f (diff)
downloadbcm5719-llvm-d708eb6b6a38603b0f6f72aba595d20e0951fe15.tar.gz
bcm5719-llvm-d708eb6b6a38603b0f6f72aba595d20e0951fe15.zip
Make test more platform independent.
llvm-svn: 86890
Diffstat (limited to 'clang/test/CodeGenCXX/new-operator-phi.cpp')
-rw-r--r--clang/test/CodeGenCXX/new-operator-phi.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/new-operator-phi.cpp b/clang/test/CodeGenCXX/new-operator-phi.cpp
index 03f528cfbe7..a5eed28ccf9 100644
--- a/clang/test/CodeGenCXX/new-operator-phi.cpp
+++ b/clang/test/CodeGenCXX/new-operator-phi.cpp
@@ -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)
{
OpenPOWER on IntegriCloud